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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTextPathElement.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/SVGTextPathElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
index 1e790eb56971fe51959c182e1a845a5b4d39f45c..82efc36e30c4a41420630072c327150348d228b1 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
@@ -124,11 +124,11 @@ void SVGTextPathElement::buildPendingResource()
Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), treeScope(), &id);
if (!target) {
// Do not register as pending if we are already pending this resource.
- if (document().accessSVGExtensions().isElementPendingResource(this, id))
+ if (treeScope().accessSVGTreeScopedResources().isElementPendingResource(this, id))
return;
if (!id.isEmpty()) {
- document().accessSVGExtensions().addPendingResource(id, this);
+ treeScope().accessSVGTreeScopedResources().addPendingResource(id, this);
ASSERT(hasPendingResources());
}
} else if (isSVGPathElement(*target)) {
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGMPathElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTreeScopeResources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698