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

Unified Diff: Source/core/svg/SVGURIReference.h

Issue 165443003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/svg/SVGTests.cpp ('k') | Source/core/svg/SVGZoomAndPan.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGURIReference.h
diff --git a/Source/core/svg/SVGURIReference.h b/Source/core/svg/SVGURIReference.h
index 93d4d072ab0dda5180be8dc767720726a9b9c0f0..c31946d546d7433a44eec9068c7405f50c1ad7a3 100644
--- a/Source/core/svg/SVGURIReference.h
+++ b/Source/core/svg/SVGURIReference.h
@@ -51,7 +51,7 @@ public:
}
// SVGURIReference JS API.
- static SVGAnimatedString* href(SVGURIReference* object) { return object->href(); }
+ static SVGAnimatedString* href(SVGURIReference& object) { return object.href(); }
SVGAnimatedString* href() const { return m_href.get(); }
const String& hrefString() const { return m_href->currentValue()->value(); }
« no previous file with comments | « Source/core/svg/SVGTests.cpp ('k') | Source/core/svg/SVGZoomAndPan.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698