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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h

Issue 2715773002: Add ShapeResult::RunInfo glyph iterators (Closed)
Patch Set: fillGlyphBufferForResult Created 3 years, 10 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/platform/fonts/shaping/ShapeResultBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h
index 6079827a3ff9b0119ee61fe25564c426fe896a2d..573e548f692bec3f06d0cc4f076fa6d35a648e63 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.h
@@ -67,14 +67,13 @@ class PLATFORM_EXPORT ShapeResultBuffer {
float fillFastHorizontalGlyphBuffer(GlyphBuffer*, const TextRun&) const;
- template <TextDirection>
- static float fillGlyphBufferForRun(GlyphBuffer*,
- const ShapeResult::RunInfo*,
- const TextRun&,
- float initialAdvance,
- unsigned from,
- unsigned to,
- unsigned runOffset);
+ static float fillGlyphBufferForResult(GlyphBuffer*,
+ const ShapeResult&,
+ const TextRun&,
+ float initialAdvance,
+ unsigned from,
+ unsigned to,
+ unsigned runOffset);
static float fillGlyphBufferForTextEmphasisRun(GlyphBuffer*,
const ShapeResult::RunInfo*,
const TextRun&,
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698