Bug 1510363 - backout accidentally checked in file. r=jya

And add patterns to .gitignore to prevent future occurence.

Differential Revision: https://phabricator.services.mozilla.com/D13108

--HG--
extra : moz-landing-system : lando
This commit is contained in:
John Lin 2018-11-28 17:50:32 +00:00
parent 992be297d7
commit 739da292b4
2 changed files with 4 additions and 12 deletions

4
.gitignore vendored
View file

@ -152,3 +152,7 @@ lextab.py
.vscode/
!.vscode/extensions.json
!.vscode/tasks.json
# Ignore temp files created by patch command.
*.orig
*.rej

View file

@ -1,12 +0,0 @@
diff a/dom/media/platforms/apple/AppleDecoderModule.cpp b/dom/media/platforms/apple/AppleDecoderModule.cpp (rejected hunks)
@@ -30,8 +30,8 @@ void AppleDecoderModule::Init() {
// Ensure IOSurface framework is loaded.
MacIOSurfaceLib::LoadLibrary();
- sCanUseHardwareVideoDecoder = MacIOSurfaceLib::isInit() &&
- gfx::gfxVars::CanUseHardwareVideoDecoding();
+ sCanUseHardwareVideoDecoder =
+ MacIOSurfaceLib::isInit() && gfx::gfxVars::CanUseHardwareVideoDecoding();
sInitialized = true;
}