Bug 1163454 - Follow up to fix bustage. CLOSED TREE

This commit is contained in:
Matt Woodrow 2015-06-16 18:56:08 -04:00
parent b7b584a47e
commit 0c2873b860

View File

@ -132,7 +132,7 @@ public:
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 {