Bug 1258751 - followup: remove out-of-date comment. r=me DONTBUILD
authorcku <cku@mozilla.com>
Mon, 07 Nov 2016 17:09:57 +0800
changeset 321612 2da969fcf8424a525f9048eaf7da336db45c3e86
parent 321611 4a7fb43aa9dc6e13dfa08288fa2d01f102e27b57
child 321613 6af65d5a444459c2b0854d19f15be78e4d66dc9d
push id30931
push userkwierso@gmail.com
push dateTue, 08 Nov 2016 21:58:36 +0000
treeherdermozilla-central@783356f1476e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1258751
milestone52.0a1
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
Bug 1258751 - followup: remove out-of-date comment. r=me DONTBUILD MozReview-Commit-ID: 8M8yHsDc1Lg
layout/svg/nsSVGIntegrationUtils.cpp
--- a/layout/svg/nsSVGIntegrationUtils.cpp
+++ b/layout/svg/nsSVGIntegrationUtils.cpp
@@ -457,19 +457,16 @@ GenerateMaskSurface(const PaintFramesPar
     return DrawResult::SUCCESS;
   }
 
   const IntRect& maskSurfaceRect = aParams.maskRect;
   if (maskSurfaceRect.IsEmpty()) {
     return DrawResult::SUCCESS;
   }
 
-  // Mask composition result on CoreGraphic::A8 surface is not correct
-  // when mask-mode is not add(source over). Switch to skia when CG backend
-  // detected.
   RefPtr<DrawTarget> maskDT =
       ctx.GetDrawTarget()->CreateSimilarDrawTarget(maskSurfaceRect.Size(),
                                                    SurfaceFormat::A8);
   if (!maskDT || !maskDT->IsValid()) {
     return DrawResult::TEMPORARY_ERROR;
   }
 
   RefPtr<gfxContext> maskContext = gfxContext::CreateOrNull(maskDT);