Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel
☠☠ backed out by 67eb0198434e ☠ ☠
authorMatt Woodrow <mwoodrow@mozilla.com>
Fri, 12 Jul 2013 17:19:29 -0400
changeset 138762 7160624804ff2a1fe196b8c0eeead9e26609ac18
parent 138761 9f2d53dd91fcf33f1c9aa834f70617c62e174445
child 138763 4a12e7c6f7427aaac2d5127291b432192747da62
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersjrmuizel
bugs892966
milestone25.0a1
Bug 892966 - Allow CG to be enabled as an azure content backend. r=jrmuizel
gfx/thebes/gfxPlatformMac.cpp
--- a/gfx/thebes/gfxPlatformMac.cpp
+++ b/gfx/thebes/gfxPlatformMac.cpp
@@ -66,17 +66,17 @@ gfxPlatformMac::gfxPlatformMac()
 {
     mOSXVersion = 0;
     OSXVersion();
 
     DisableFontActivation();
     mFontAntiAliasingThreshold = ReadAntiAliasingThreshold();
 
     uint32_t canvasMask = (1 << BACKEND_CAIRO) | (1 << BACKEND_SKIA) | (1 << BACKEND_COREGRAPHICS);
-    uint32_t contentMask = 0;
+    uint32_t contentMask = (1 << BACKEND_COREGRAPHICS);
     InitBackendPrefs(canvasMask, contentMask);
 }
 
 gfxPlatformMac::~gfxPlatformMac()
 {
     gfxCoreTextShaper::Shutdown();
 }