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

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

Issue 2342203004: Don't include LineLayoutItem.h from SVGTextContentElement.h. (Closed)
Patch Set: Created 4 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 | « third_party/WebKit/Source/core/svg/SVGTextContentElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
index 1ec25c5b3e67a3a08116217bb70235fbddffd794..a06a9b7633b97a1fc47f20274bd87c323d4f99a0 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
@@ -30,6 +30,7 @@
#include "core/editing/FrameSelection.h"
#include "core/frame/LocalFrame.h"
#include "core/frame/UseCounter.h"
+#include "core/layout/api/LineLayoutItem.h"
#include "core/layout/svg/SVGTextQuery.h"
namespace blink {
@@ -249,7 +250,7 @@ bool SVGTextContentElement::selfHasRelativeLengths() const
return true;
}
-SVGTextContentElement* SVGTextContentElement::elementFromLineLayoutItem(LineLayoutItem lineLayoutItem)
+SVGTextContentElement* SVGTextContentElement::elementFromLineLayoutItem(const LineLayoutItem& lineLayoutItem)
{
if (!lineLayoutItem || (!lineLayoutItem.isSVGText() && !lineLayoutItem.isSVGInline()))
return nullptr;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTextContentElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698