Bug 907011 - Enable Azure content for windows. r=Bas

This commit is contained in:
Matt Woodrow 2013-08-23 16:54:14 +12:00
parent 323cf741f0
commit 4239d87f2d
2 changed files with 2 additions and 2 deletions

View File

@ -502,7 +502,7 @@ gfxWindowsPlatform::UpdateRenderMode()
#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;

View File

@ -319,7 +319,7 @@ pref("gfx.font_rendering.opentype_svg.enabled", false);
// comma separated list of backends to use in order of preference
// e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
pref("gfx.canvas.azure.backends", "direct2d,skia,cairo");
pref("gfx.content.azure.backends", "direct2d");
pref("gfx.content.azure.backends", "direct2d,cairo");
pref("gfx.content.azure.enabled", true);
#else
pref("gfx.content.azure.enabled", false);