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

Unified Diff: Source/core/svg/SVGTRefElement.cpp

Issue 23685007: Have SVGURIReference API deal with Document references, not pointers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/core/svg/SVGRadialGradientElement.cpp ('k') | Source/core/svg/SVGTextPathElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTRefElement.cpp
diff --git a/Source/core/svg/SVGTRefElement.cpp b/Source/core/svg/SVGTRefElement.cpp
index 1244e9ecb4178c2e9489e4a5d05106558986d914..4ab06bb7f063549a821a3917707c13e3dfaa351a 100644
--- a/Source/core/svg/SVGTRefElement.cpp
+++ b/Source/core/svg/SVGTRefElement.cpp
@@ -167,7 +167,7 @@ void SVGTRefElement::detachTarget()
// Mark the referenced ID as pending.
String id;
- SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), &document(), &id);
+ SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id);
if (!id.isEmpty())
document().accessSVGExtensions()->addPendingResource(id, this);
}
@@ -247,7 +247,7 @@ void SVGTRefElement::buildPendingResource()
return;
String id;
- RefPtr<Element> target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), &document(), &id);
+ RefPtr<Element> target = SVGURIReference::targetElementFromIRIString(hrefCurrentValue(), document(), &id);
if (!target.get()) {
if (id.isEmpty())
return;
« no previous file with comments | « Source/core/svg/SVGRadialGradientElement.cpp ('k') | Source/core/svg/SVGTextPathElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698