Bug 864771 - Stop calling nsSVGUtils::InvalidateBounds in DoApplyRenderingChangeToTree, and use DLBI instead. r=mattwoodrow
authorJonathan Watt <jwatt@jwatt.org>
Wed, 24 Apr 2013 10:13:28 +0100
changeset 140669 c2d5b7337a7e646275b654f941aae51bf6b1df43
parent 140668 8aa8f6474bf9521a7a2592c4f3a743d77a2a2355
child 140670 7ab7562be0e6807e7397a6ef94fbd6ade001d0e8
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs864771
milestone23.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 864771 - Stop calling nsSVGUtils::InvalidateBounds in DoApplyRenderingChangeToTree, and use DLBI instead. r=mattwoodrow
layout/base/nsCSSFrameConstructor.cpp
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -7728,17 +7728,18 @@ DoApplyRenderingChangeToTree(nsIFrame* a
         if (aChange & nsChangeHint_UpdateEffects) {
           needInvalidatingPaint = true;
           // Invalidate and update our area:
           nsSVGUtils::InvalidateBounds(aFrame, false);
           nsSVGUtils::ScheduleReflowSVG(aFrame);
         } else {
           needInvalidatingPaint = true;
           // Just invalidate our area:
-          nsSVGUtils::InvalidateBounds(aFrame);
+          nsSVGEffects::InvalidateRenderingObservers(aFrame);
+          aFrame->InvalidateFrameSubtree();
         }
       } else {
         needInvalidatingPaint = true;
         aFrame->InvalidateFrameSubtree();
       }
     }
     if (aChange & nsChangeHint_UpdateTextPath) {
       if (aFrame->GetType() == nsGkAtoms::svgTextPathFrame) {