Bug 1026893 - Followup: Address review comment. r=me,a=lmandel
authorBas Schouten <bschouten@mozilla.com>
Mon, 24 Nov 2014 21:13:35 +0000
changeset 234014 fcc41d2a915832092041005e1291ba993b2dce89
parent 234013 71acc38804b814641a4b443b9d8dc94aa4cfff85
child 234015 4e51a5678a9be5a0e5b6872f7557bfd188001fb0
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, lmandel
bugs1026893
milestone35.0a2
Bug 1026893 - Followup: Address review comment. r=me,a=lmandel
gfx/thebes/gfxWindowsPlatform.cpp
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -1676,21 +1676,17 @@ gfxWindowsPlatform::InitD3D11Devices()
 
   mD3D11Device->SetExceptionMode(0);
 
 #ifdef USE_D2D1_1
   if (Factory::SupportsD2D1()) {
     hr = E_INVALIDARG;
     __try {
       hr = d3d11CreateDevice(adapter, D3D_DRIVER_TYPE_UNKNOWN, nullptr,
-                             // Use
-                             // D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS
-                             // to prevent bug 1092260. IE 11 also uses this flag
-                             D3D11_CREATE_DEVICE_BGRA_SUPPORT |
-                             D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS,
+                             D3D11_CREATE_DEVICE_BGRA_SUPPORT,
                              featureLevels.Elements(), featureLevels.Length(),
                              D3D11_SDK_VERSION, byRef(mD3D11ContentDevice),
                              nullptr, nullptr);
     } __except(EXCEPTION_EXECUTE_HANDLER) {
       mD3D11Device = nullptr;
       return;
     }