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

Unified Diff: Source/core/platform/graphics/Font.h

Issue 68483006: Remove ComplexTextController dependency on core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unneeded includes too Created 7 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/platform/graphics/Font.h
diff --git a/Source/core/platform/graphics/Font.h b/Source/core/platform/graphics/Font.h
index 5a3538f78bd6d469b8b0a0eb2c7c8e7d7d27e334..315de67c466d35c896002ee0ff3ebb65bdeec24e 100644
--- a/Source/core/platform/graphics/Font.h
+++ b/Source/core/platform/graphics/Font.h
@@ -51,7 +51,6 @@ class FontPlatformData;
class FontSelector;
class GlyphBuffer;
class GraphicsContext;
-class RenderText;
class TextLayout;
class TextRun;
struct TextRunPaintInfo;
@@ -104,7 +103,7 @@ public:
float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
float width(const TextRun&, int& charsConsumed, String& glyphName) const;
- PassOwnPtr<TextLayout> createLayout(RenderText*, float xPos, bool collapseWhiteSpace) const;
+ PassOwnPtr<TextLayout> createLayout(const TextRun&, unsigned textLength, float xPos, bool collapseWhiteSpace) const;
static void deleteLayout(TextLayout*);
static float width(TextLayout&, unsigned from, unsigned len, HashSet<const SimpleFontData*>* fallbackFonts = 0);

Powered by Google App Engine
This is Rietveld 408576698