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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp

Issue 1885453002: Rename Node::treeScope() to Node::treeScopeOrDocument() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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/layout/svg/LayoutSVGTextPath.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp
index 261e9c4d7aff89e2b80a746a7afabd09d270c9cf..8dd47999844b83d2b1f8d0e3563804c6967fd52b 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTextPath.cpp
@@ -29,8 +29,8 @@ namespace blink {
TreeScope& treeScopeForIdResolution(const SVGElement& element)
{
if (SVGElement* correspondingElement = element.correspondingElement())
- return correspondingElement->treeScope();
- return element.treeScope();
+ return correspondingElement->treeScopeOrDocument();
+ return element.treeScopeOrDocument();
}
PathPositionMapper::PathPositionMapper(const Path& path)

Powered by Google App Engine
This is Rietveld 408576698