Backed out changeset 65f38304cc6e (bug 1083071) for bustage.
authorRyan VanderMeulen <ryanvm@gmail.com>
Sun, 26 Oct 2014 18:45:36 -0400
changeset 234805 b60896750450a4cf3177d19db4a871a8292da5e4
parent 234804 1d58695aae3283cf8ab33666220f81cc3b1e8aea
child 234806 38ef8541c3fc62f79b130751e3be9d61034da900
push id611
push userraliiev@mozilla.com
push dateMon, 05 Jan 2015 23:23:16 +0000
treeherdermozilla-release@345cd3b9c445 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1083071
milestone35.0a2
backs out65f38304cc6ea07fe306d22794c43e5aa979a292
Backed out changeset 65f38304cc6e (bug 1083071) for bustage.
gfx/thebes/gfxWindowsPlatform.cpp
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -1567,26 +1567,16 @@ bool DoesD3D11DeviceSupportResourceShari
   return true;
 }
 
 void
 gfxWindowsPlatform::InitD3D11Devices()
 {
   mD3D11DeviceInitialized = true;
 
-  nsCOMPtr<nsIGfxInfo> gfxInfo = do_GetService("@mozilla.org/gfx/info;1");
-  if (gfxInfo) {
-    int32_t status;
-    if (NS_SUCCEEDED(gfxInfo->GetFeatureStatus(nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS, &status))) {
-      if (status != nsIGfxInfo::FEATURE_STATUS_OK) {
-        return nullptr;
-      }
-    }
-  }
-
   nsModuleHandle d3d11Module(LoadLibrarySystem32(L"d3d11.dll"));
   decltype(D3D11CreateDevice)* d3d11CreateDevice = (decltype(D3D11CreateDevice)*)
     GetProcAddress(d3d11Module, "D3D11CreateDevice");
 
   if (!d3d11CreateDevice) {
     return;
   }