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

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

Issue 715023002: Make SVGTextPositioningElement::elementFromRenderer take a reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compile problem Created 6 years, 1 month 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: Source/core/svg/SVGTextPositioningElement.h
diff --git a/Source/core/svg/SVGTextPositioningElement.h b/Source/core/svg/SVGTextPositioningElement.h
index 3389331a286a6068077f0b2c0813f3230b50fd9f..797e33d71aded0e320cd20093ba898c434b205d1 100644
--- a/Source/core/svg/SVGTextPositioningElement.h
+++ b/Source/core/svg/SVGTextPositioningElement.h
@@ -31,7 +31,7 @@ namespace blink {
class SVGTextPositioningElement : public SVGTextContentElement {
DEFINE_WRAPPERTYPEINFO();
public:
- static SVGTextPositioningElement* elementFromRenderer(RenderObject*);
+ static SVGTextPositioningElement* elementFromRenderer(RenderObject&);
SVGAnimatedLengthList* x() { return m_x.get(); }
SVGAnimatedLengthList* y() { return m_y.get(); }
« no previous file with comments | « Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698