Backed out changeset d8f5fb777c67 (bug 1330286) for Reftest failures
authorIris Hsiao <ihsiao@mozilla.com>
Mon, 16 Jan 2017 16:28:39 +0800
changeset 376814 ff279eed787191b2b4dc874d6699c51eba9c1ac8
parent 376813 4e763552b6cf1e3401d1da1e70409e8f3753d944
child 376815 6c09bdd01ec3f835223ca78a032fd7525cb62e40
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [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)
 {