Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1431)

Unified Diff: Source/core/rendering/svg/SVGResourcesCache.cpp

Issue 669153002: Relocate markForLayoutAndParentResourceInvalidation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop boundsChanged. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/svg/SVGResourcesCache.cpp
diff --git a/Source/core/rendering/svg/SVGResourcesCache.cpp b/Source/core/rendering/svg/SVGResourcesCache.cpp
index 45b4e4ee76e11c063f65c2dfd56aea32afac843e..a77894d5059213170ccaee41396400a66c89ebc7 100644
--- a/Source/core/rendering/svg/SVGResourcesCache.cpp
+++ b/Source/core/rendering/svg/SVGResourcesCache.cpp
@@ -135,14 +135,14 @@ void SVGResourcesCache::clientStyleChanged(RenderObject* renderer, StyleDifferen
cache->addResourcesFromRenderObject(renderer, newStyle);
}
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer, false);
+ RenderSVGResourceContainer::markForLayoutAndParentResourceInvalidation(renderer, false);
}
void SVGResourcesCache::clientWasAddedToTree(RenderObject* renderer, const RenderStyle* newStyle)
{
if (!renderer->node())
return;
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer, false);
+ RenderSVGResourceContainer::markForLayoutAndParentResourceInvalidation(renderer, false);
if (!rendererCanHaveResources(renderer))
return;
@@ -154,7 +154,7 @@ void SVGResourcesCache::clientWillBeRemovedFromTree(RenderObject* renderer)
{
if (!renderer->node())
return;
- RenderSVGResource::markForLayoutAndParentResourceInvalidation(renderer, false);
+ RenderSVGResourceContainer::markForLayoutAndParentResourceInvalidation(renderer, false);
if (!rendererCanHaveResources(renderer))
return;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceContainer.cpp ('k') | Source/core/svg/SVGAnimateMotionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698