Bug 1163454 - Follow up to fix bustage. CLOSED TREE
authorMatt Woodrow <mwoodrow@mozilla.com>
Tue, 16 Jun 2015 18:56:08 -0400
changeset 280029 6c05b6375d9feba15f298a4bdb079cca9e3a4488
parent 280028 a53b5cee6b6f89f5c987b00060ab76f47614da08
child 280030 9c45565cdccc03a06be779fa31f219337732ceed
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-beta@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1163454
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1163454 - Follow up to fix bustage. CLOSED TREE
dom/media/platforms/wmf/WMFVideoMFTManager.cpp
--- a/dom/media/platforms/wmf/WMFVideoMFTManager.cpp
+++ b/dom/media/platforms/wmf/WMFVideoMFTManager.cpp
@@ -127,17 +127,17 @@ class CreateDXVAManagerEvent : public ns
 public:
   CreateDXVAManagerEvent(LayersBackend aBackend)
     : mBackend(aBackend)
   {}
 
   NS_IMETHOD Run() {
     NS_ASSERTION(NS_IsMainThread(), "Must be on main thread.");
     if (mBackend == LayersBackend::LAYERS_D3D11 &&
-        Preference::GetBool("media.windows-media-foundation.allow-d3d11-dxva", false) &&
+        Preferences::GetBool("media.windows-media-foundation.allow-d3d11-dxva", false) &&
         IsWin8OrLater()) {
       mDXVA2Manager = DXVA2Manager::CreateD3D11DXVA();
     } else {
       mDXVA2Manager = DXVA2Manager::CreateD3D9DXVA();
     }
     return NS_OK;
   }
   nsAutoPtr<DXVA2Manager> mDXVA2Manager;