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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.h

Issue 2714413003: Remove GlyphBuffer (Closed)
Patch Set: format Created 3 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
Index: third_party/WebKit/Source/platform/fonts/Font.h
diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h
index 88b85decbf092a66f43aae4d2fea205cb4f13bdb..13c58d7d83d385d96f90a07dbdc8ed5cb739d1d1 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -49,7 +49,6 @@ class FloatRect;
class FontFallbackIterator;
class FontData;
class FontSelector;
-class GlyphBuffer;
class ShapeCache;
class TextRun;
struct TextRunPaintInfo;
@@ -172,22 +171,10 @@ class PLATFORM_EXPORT Font {
private:
enum ForTextEmphasisOrNot { NotForTextEmphasis, ForTextEmphasis };
- // Returns the total advance.
- float buildGlyphBuffer(const TextRunPaintInfo&,
- GlyphBuffer&,
- const GlyphData* emphasisData = nullptr) const;
- void drawGlyphBuffer(PaintCanvas*,
- const PaintFlags&,
- const GlyphBuffer&,
- const FloatPoint&,
- float deviceScaleFactor) const;
-
GlyphData getEmphasisMarkGlyphData(const AtomicString&) const;
bool computeCanShapeWordByWord() const;
- friend struct SimpleShaper;
-
public:
FontSelector* getFontSelector() const;
PassRefPtr<FontFallbackIterator> createFontFallbackIterator(

Powered by Google App Engine
This is Rietveld 408576698