Index: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.h b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.h |
index 30dce3593a042b346902a67241a8522b76310820..2cb7946e2685b8637456fed9d8081d64e6374bb6 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.h |
@@ -37,9 +37,9 @@ namespace blink { |
struct CharacterRange; |
class Font; |
-class GlyphBuffer; |
class ShapeCache; |
class SimpleFontData; |
+class ShapeResultBloberizer; |
struct GlyphData; |
class PLATFORM_EXPORT CachingWordShaper final { |
@@ -56,15 +56,11 @@ class PLATFORM_EXPORT CachingWordShaper final { |
int offsetForPosition(const TextRun&, |
float targetX, |
bool includePartialGlyphs); |
- float fillGlyphBuffer(const TextRun&, |
- GlyphBuffer*, |
- unsigned from, |
- unsigned to); |
- float fillGlyphBufferForTextEmphasis(const TextRun&, |
- const GlyphData* emphasisData, |
- GlyphBuffer*, |
- unsigned from, |
- unsigned to); |
+ |
+ float fillGlyphs(const TextRunPaintInfo&, ShapeResultBloberizer&); |
+ void fillTextEmphasisGlyphs(const TextRunPaintInfo&, |
+ const GlyphData& emphasisData, |
+ ShapeResultBloberizer&); |
CharacterRange getCharacterRange(const TextRun&, |
unsigned from, |
unsigned to); |