forked from mirrors/gecko-dev
Differential Revision: https://phabricator.services.mozilla.com/D7558 --HG-- extra : moz-landing-system : lando
12 lines
514 B
Text
12 lines
514 B
Text
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;
|
|
}
|