Index: third_party/WebKit/Source/core/svg/SVGTextContentElement.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGTextContentElement.h b/third_party/WebKit/Source/core/svg/SVGTextContentElement.h |
index 7649dae287b8ab85a6d8181cc795160d68e18a3e..09839264d2a8e6ad881160e2e296ea21be008004 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.h |
+++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.h |
@@ -21,6 +21,7 @@ |
#ifndef SVGTextContentElement_h |
#define SVGTextContentElement_h |
+#include "core/layout/api/LineLayoutItem.h" |
#include "core/svg/SVGAnimatedBoolean.h" |
#include "core/svg/SVGAnimatedEnumeration.h" |
#include "core/svg/SVGAnimatedLength.h" |
@@ -59,7 +60,7 @@ public: |
int getCharNumAtPosition(PassRefPtrWillBeRawPtr<SVGPointTearOff>, ExceptionState&); |
void selectSubString(unsigned charnum, unsigned nchars, ExceptionState&); |
- static SVGTextContentElement* elementFromLayoutObject(LayoutObject*); |
+ static SVGTextContentElement* elementFromLayoutObject(const LineLayoutItem); |
SVGAnimatedLength* textLength() { return m_textLength.get(); } |
bool textLengthIsSpecifiedByUser() { return m_textLengthIsSpecifiedByUser; } |