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

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

Issue 2705163008: Cleanup the SVGTreeScopeResources interface (Closed)
Patch Set: Rebase 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/svg/SVGTextPathElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
index f4fa07b5e4ff2a000ddf298f43c3f6dd604410fe..f6d4b2338c5d43cedda8fa6a26f409dd3dadd9e2 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
@@ -128,10 +128,10 @@ void SVGTextPathElement::buildPendingResource() {
if (!target) {
// Do not register as pending if we are already pending this resource.
if (treeScope().ensureSVGTreeScopedResources().isElementPendingResource(
- this, id))
+ *this, id))
return;
if (!id.isEmpty()) {
- treeScope().ensureSVGTreeScopedResources().addPendingResource(id, this);
+ treeScope().ensureSVGTreeScopedResources().addPendingResource(id, *this);
DCHECK(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