Bug 907926 - Enable azure cairo content for windows. r=nrc
☠☠ backed out by ea9ee28a3654 ☠ ☠
authorMatt Woodrow <mwoodrow@mozilla.com>
Wed, 11 Sep 2013 17:08:53 +1200
changeset 159435 091d82cb377ec83bcd661c4fdbb889c3da7cce28
parent 159434 a8e569516f3199dbe85f7c09fe4e1b367746623e
child 159436 9e1c03f7953a4135db1660640bfd887ca18ed49c
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnrc
bugs907926
milestone26.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 cairo 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);
 }