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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTextContentElement.h

Issue 1625683003: [Line Layout API] Some harder SVGTextLayoutEngine changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3_api_easy_svg
Patch Set: rebase on Mark's landed patch Created 4 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/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; }

Powered by Google App Engine
This is Rietveld 408576698