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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h

Issue 2824823003: DOM-based SVG resource tracking (Closed)
Patch Set: Update baselines Created 3 years, 7 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: third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h b/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h
index 66ed2e85b9e71be90ac94bcdc8dfc6a4d0b2b8d1..ac7f3c8b9c0aa48451c15bbcf493ad0c074d639d 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.h
@@ -30,7 +30,6 @@ namespace blink {
class LayoutObject;
class ComputedStyle;
-class LayoutSVGResourceContainer;
class SVGResources;
class SVGResourcesCache {
@@ -62,6 +61,10 @@ class SVGResourcesCache {
StyleDifference,
const ComputedStyle& new_style);
+ // Called when the target element of a resource referenced by the
+ // LayoutObject may have changed.
+ static void ResourceReferenceChanged(LayoutObject&);
+
class TemporaryStyleScope {
WTF_MAKE_NONCOPYABLE(TemporaryStyleScope);
STACK_ALLOCATED();

Powered by Google App Engine
This is Rietveld 408576698