Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures.

This commit is contained in:
Ryan VanderMeulen 2015-03-11 15:22:04 -04:00
parent 3a6430589e
commit 115adcaae3

View File

@ -1181,12 +1181,7 @@ gfxPlatform::CreateOffscreenCanvasDrawTarget(const IntSize& aSize, SurfaceFormat
return target.forget();
}
#ifdef XP_WIN
// On Windows, the fallback backend (Cairo) should use its image backend.
return Factory::CreateDrawTarget(mFallbackCanvasBackend, aSize, aFormat);
#else
return CreateDrawTargetForBackend(mFallbackCanvasBackend, aSize, aFormat);
#endif
}
TemporaryRef<DrawTarget>