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

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

Issue 1773403002: Update SVG text layout to use shaped glyph data & go fast (O(n^2)->O(n)) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1773353003
Patch Set: Fix TestExpectations collision 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
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 5907c46ef49efca75ab9ae781e0e94adc409c023..5fda353027fe7329392c462f2a18ecd80812c36f 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.h
@@ -61,6 +61,8 @@ public:
unsigned from, unsigned to);
CharacterRange getCharacterRange(const Font*, const TextRun&,
unsigned from, unsigned to);
+ Vector<CharacterRange> individualCharacterRanges(const Font*,
+ const TextRun&, unsigned from, unsigned to);
private:
ShapeCache* m_shapeCache;

Powered by Google App Engine
This is Rietveld 408576698