Backed out changeset d8f5fb777c67 (bug 1330286) for Reftest failures
authorIris Hsiao <ihsiao@mozilla.com>
Mon, 16 Jan 2017 16:28:39 +0800
changeset 374530 ff279eed787191b2b4dc874d6699c51eba9c1ac8
parent 374529 4e763552b6cf1e3401d1da1e70409e8f3753d944
child 374531 6c09bdd01ec3f835223ca78a032fd7525cb62e40
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1330286
milestone53.0a1
backs outd8f5fb777c67f729e126145f2d7ccd010655cdaf
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
Backed out changeset d8f5fb777c67 (bug 1330286) for Reftest failures
gfx/thebes/gfxPlatform.cpp
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -1442,17 +1442,17 @@ gfxPlatform::CreateOffscreenCanvasDrawTa
 #else
   return CreateDrawTargetForBackend(mFallbackCanvasBackend, aSize, aFormat);
 #endif
 }
 
 already_AddRefed<DrawTarget>
 gfxPlatform::CreateOffscreenContentDrawTarget(const IntSize& aSize, SurfaceFormat aFormat)
 {
-  NS_ASSERTION(mContentBackend != BackendType::NONE, "No backend.");
+  NS_ASSERTION(mPreferredCanvasBackend != BackendType::NONE, "No backend.");
   return CreateDrawTargetForBackend(mContentBackend, aSize, aFormat);
 }
 
 already_AddRefed<DrawTarget>
 gfxPlatform::CreateSimilarSoftwareDrawTarget(DrawTarget* aDT,
                                              const IntSize& aSize,
                                              SurfaceFormat aFormat)
 {