Bug 907926 - Enable Azure content for windows. r=nrc
authorMatt Woodrow <mwoodrow@mozilla.com>
Thu, 19 Sep 2013 09:32:15 +1200
changeset 162902 e844f4ed3e1f806fb04baec8ea035cef69533764
parent 162901 ad266fafd429a0a37904bd797726e63f0606505a
child 162903 9ba8efe588db0edc1d1374d9bbcf2464985bac95
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnrc
bugs907926
milestone27.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 907926 - Enable Azure content for windows. r=nrc
gfx/thebes/gfxWindowsPlatform.cpp
--- a/gfx/thebes/gfxWindowsPlatform.cpp
+++ b/gfx/thebes/gfxWindowsPlatform.cpp
@@ -501,17 +501,17 @@ gfxWindowsPlatform::UpdateRenderMode()
 
             if (hr == S_OK)
               reporter.SetSuccessful();
         }
     }
 #endif
 
     uint32_t canvasMask = 1 << BACKEND_CAIRO;
-    uint32_t contentMask = 0;
+    uint32_t contentMask = 1 << BACKEND_CAIRO;
     if (mRenderMode == RENDER_DIRECT2D) {
       canvasMask |= 1 << BACKEND_DIRECT2D;
       contentMask |= 1 << BACKEND_DIRECT2D;
     } else {
       canvasMask |= 1 << BACKEND_SKIA;
     }
     InitBackendPrefs(canvasMask, contentMask);
 }