Bug 767701 - Add missing nsSVGEffects::InvalidateDirectRenderingObservers() call to the clipPath code. r=longsonr.
authorJonathan Watt <jwatt@jwatt.org>
Sat, 23 Jun 2012 15:18:49 +0100
changeset 106394 415df878eca2d2db5764a64958f9d4a243d52ff0
parent 106393 1aaccea339d7c59573e52d3bf16e38c135521432
child 106395 5ec71f0d35893926884fc1f22cc7a4f7298968c7
push id23447
push userdanderson@mozilla.com
push dateTue, 11 Sep 2012 17:34:27 +0000
treeherdermozilla-central@fdfaef738a00 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslongsonr
bugs767701
milestone16.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 767701 - Add missing nsSVGEffects::InvalidateDirectRenderingObservers() call to the clipPath code. r=longsonr.
content/base/src/nsINode.cpp
layout/svg/base/src/nsSVGClipPathFrame.cpp
--- a/layout/svg/base/src/nsSVGClipPathFrame.cpp
+++ b/layout/svg/base/src/nsSVGClipPathFrame.cpp
@@ -278,16 +278,17 @@ nsSVGClipPathFrame::IsValid()
 
 NS_IMETHODIMP
 nsSVGClipPathFrame::AttributeChanged(PRInt32         aNameSpaceID,
                                      nsIAtom*        aAttribute,
                                      PRInt32         aModType)
 {
   if (aNameSpaceID == kNameSpaceID_None) {
     if (aAttribute == nsGkAtoms::transform) {
+      nsSVGEffects::InvalidateDirectRenderingObservers(this);
       nsSVGUtils::NotifyChildrenOfSVGChange(this,
                                             nsISVGChildFrame::TRANSFORM_CHANGED);
     }
     if (aAttribute == nsGkAtoms::clipPathUnits) {
       nsSVGEffects::InvalidateRenderingObservers(this);
     }
   }