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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEImageElement.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/svg/SVGFEImageElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
index ced878470d45840f130478646ca7b35b203c04bb..a6dd91e96d39d84b05149f4ba55359e40e5ef70e 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp
@@ -91,7 +91,7 @@ void SVGFEImageElement::buildPendingResource()
return;
AtomicString id;
- Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), treeScope(), &id);
+ Element* target = SVGURIReference::targetElementFromIRIString(hrefString(), treeScopeOrDocument(), &id);
if (!target) {
if (id.isEmpty()) {
fetchImageResource();
@@ -161,7 +161,7 @@ FilterEffect* SVGFEImageElement::build(SVGFilterBuilder*, Filter* filter)
return FEImage::createWithImage(filter, image, m_preserveAspectRatio->currentValue());
}
- return FEImage::createWithIRIReference(filter, treeScope(), hrefString(), m_preserveAspectRatio->currentValue());
+ return FEImage::createWithIRIReference(filter, treeScopeOrDocument(), hrefString(), m_preserveAspectRatio->currentValue());
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGLinearGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698