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

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

Issue 2107153002: SVG object with same idrefs get conflicted even they are under different shadow root Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/dom/TreeScope.h
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.h b/third_party/WebKit/Source/core/dom/TreeScope.h
index ce83da53b39f5a1119775f440d9b9b5b91e99cb6..09d7bc221b5eb3f1b6cc63faa3318cd47019f788 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.h
+++ b/third_party/WebKit/Source/core/dom/TreeScope.h
@@ -31,6 +31,7 @@
#include "core/dom/DocumentOrderedMap.h"
#include "core/html/forms/RadioButtonGroupScope.h"
#include "core/layout/HitTestRequest.h"
+#include "core/svg/SVGTreeScopeResources.h"
#include "platform/heap/Handle.h"
#include "wtf/text/AtomicString.h"
@@ -115,6 +116,9 @@ public:
ScopedStyleResolver& ensureScopedStyleResolver();
void clearScopedStyleResolver();
+ const SVGTreeScopeResources* svgTreeScopedResources();
+ SVGTreeScopeResources& accessSVGTreeScopedResources();
+
protected:
TreeScope(ContainerNode&, Document&);
TreeScope(Document&);
@@ -139,6 +143,9 @@ private:
mutable Member<DOMSelection> m_selection;
RadioButtonGroupScope m_radioButtonGroupScope;
+
+ Member<SVGTreeScopeResources> m_svgTreeScopedResources;
+
};
inline bool TreeScope::hasElementWithId(const AtomicString& id) const

Powered by Google App Engine
This is Rietveld 408576698