Bug 951268 - Fix bustage. a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 28 Jan 2014 22:05:01 -0500
changeset 176073 afff6fa4e0364889430f4b79eb0c5bdc8d5a7fa3
parent 176072 00262fd30bb02d7e298e99053ddcd78906601554
child 176074 d6269ead6ff3a806adf23c16453eafa5b57d410e
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs951268
milestone28.0a2
Bug 951268 - Fix bustage. a=bustage
gfx/2d/FilterNodeSoftware.cpp
--- a/gfx/2d/FilterNodeSoftware.cpp
+++ b/gfx/2d/FilterNodeSoftware.cpp
@@ -586,17 +586,17 @@ FilterNodeSoftware::Draw(DrawTarget* aDr
   printf("output from %s:\n", GetName());
   printf("<img src='"); DumpAsPNG(result); printf("'>\n");
   printf("</pre>\n");
 #endif
 
   Point sourceToDestOffset = aDestPoint - aSourceRect.TopLeft();
   Rect renderedSourceRect = Rect(outputRect).Intersect(aSourceRect);
   Rect renderedDestRect = renderedSourceRect + sourceToDestOffset;
-  if (result->GetFormat() == SurfaceFormat::A8) {
+  if (result->GetFormat() == FORMAT_A8) {
     // Interpret the result as having implicitly black color channels.
     aDrawTarget->PushClipRect(renderedDestRect);
     aDrawTarget->MaskSurface(ColorPattern(Color(0.0, 0.0, 0.0, 1.0)),
                              result,
                              Point(outputRect.TopLeft()) + sourceToDestOffset,
                              aOptions);
     aDrawTarget->PopClip();
   } else {