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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.h

Issue 2633143002: SVG objects with same idrefs conflict when under different shadow root (Closed)
Patch Set: ensureSVGTreeScopedResources(); add comment Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/TreeScope.h
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.h b/third_party/WebKit/Source/core/dom/TreeScope.h
index d43a3b721168b31a82a1efd5063e6b1b7e554a17..dd17132886a22af47ea2e807ff95d35cb8e9cebf 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.h
+++ b/third_party/WebKit/Source/core/dom/TreeScope.h
@@ -43,6 +43,7 @@ class Element;
class HTMLMapElement;
class HitTestResult;
class IdTargetObserverRegistry;
+class SVGTreeScopeResources;
class ScopedStyleResolver;
class Node;
@@ -127,6 +128,8 @@ class CORE_EXPORT TreeScope : public GarbageCollectedMixin {
ScopedStyleResolver& ensureScopedStyleResolver();
void clearScopedStyleResolver();
+ SVGTreeScopeResources& ensureSVGTreeScopedResources();
+
protected:
TreeScope(ContainerNode&, Document&);
TreeScope(Document&);
@@ -151,6 +154,8 @@ class CORE_EXPORT TreeScope : public GarbageCollectedMixin {
mutable Member<DOMSelection> m_selection;
RadioButtonGroupScope m_radioButtonGroupScope;
+
+ Member<SVGTreeScopeResources> m_svgTreeScopedResources;
};
inline bool TreeScope::hasElementWithId(const AtomicString& id) const {
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698