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

Unified Diff: third_party/WebKit/Source/core/svg/SVGUseElement.cpp

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: rename the method in TreeScope class Created 4 years, 5 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/svg/SVGUseElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
index e6d6b6eb2f0cd68c53b41a7142f8aaed513e057d..ca7e0cc7963d48e4b8ac2516532d8e80aec7aa4e 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
@@ -328,7 +328,7 @@ void SVGUseElement::buildPendingResource()
if (id.isEmpty())
return;
- document().accessSVGExtensions().addPendingResource(id, this);
+ treeScope().accessSVGTreeScopedResources().addPendingResource(id, this);
ASSERT(hasPendingResources());
return;
}

Powered by Google App Engine
This is Rietveld 408576698