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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h

Issue 1829713002: Move SVGTextMetrics::constructTextRun to SVGTextMetricsBuilder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h b/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h
index c973fbd1b2b428acc63358ddef78bf1145d15091..a63d8a914bfd9fede5ee808df3adcd49f57e0b42 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h
@@ -20,14 +20,12 @@
#ifndef SVGTextMetrics_h
#define SVGTextMetrics_h
-#include "platform/text/TextDirection.h"
#include "wtf/Allocator.h"
namespace blink {
enum class FontOrientation;
class LineLayoutSVGInlineText;
-class TextRun;
class SVGTextMetrics {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -40,8 +38,6 @@ public:
SVGTextMetrics(MetricsType);
SVGTextMetrics(LineLayoutSVGInlineText, unsigned length, float width);
- static TextRun constructTextRun(LineLayoutSVGInlineText, unsigned position, unsigned length, TextDirection);
-
bool isEmpty() const { return !m_width && !m_height && m_length <= 1; }
float width() const { return m_width; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698