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

Unified Diff: third_party/WebKit/Source/core/svg/SVGUseElement.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/SVGUseElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
index 89e88c003deed519385b85049414dd464db1d1fd..947e974deb3588300c4ffe0081c633a89195a5e6 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
@@ -317,7 +317,7 @@ Element* SVGUseElement::resolveTargetElement() {
// Don't record any pending references for external resources.
if (!m_resource) {
treeScope().ensureSVGTreeScopedResources().addPendingResource(
- m_elementIdentifier, this);
+ m_elementIdentifier, *this);
DCHECK(hasPendingResources());
}
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698