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

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

Issue 2722543002: Improve handling of duplicate id's for SVG resources (Closed)
Patch Set: Created 3 years, 10 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/LayoutSVGResourceContainer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h
index f22b7f9d5926f477c9f736134edbf3ef52b537c5..fb4aded25359582cde6208b93a73c5d844982a60 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h
@@ -63,6 +63,10 @@ class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer {
}
void idChanged(const AtomicString& oldId, const AtomicString& newId);
+ void detachAllClients(const AtomicString& toId);
+
+ void setRegistered(bool registered) { m_registered = registered; }
+ bool isRegistered() const { return m_registered; }
void invalidateCacheAndMarkForLayout(SubtreeLayoutScope* = nullptr);
@@ -97,7 +101,6 @@ class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer {
friend class SVGResourcesCache;
void addClient(LayoutObject*);
void removeClient(LayoutObject*);
- void detachAllClients();
// Track global (markAllClientsForInvalidation) invals to avoid redundant
// crawls.

Powered by Google App Engine
This is Rietveld 408576698