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

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

Issue 1806653002: Shape unicode-range: font faces in only one iteration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update UnicodeRangeSetTests to RefPtrtr, rm copy constructor and test 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/HarfBuzzShaper.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h
index a1a49b97fc88a5f05fa7f4b24ab87aee4390e7bb..719d6cf96904fadcc1218c8def84f60a015eb016 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.h
@@ -53,6 +53,7 @@ class Font;
class GlyphBuffer;
class SimpleFontData;
class HarfBuzzShaper;
+class UnicodeRangeSet;
// Shaping text runs is split into several stages: Run segmentation, shaping the
// initial segment, identify shaped and non-shaped sequences of the shaping
@@ -162,8 +163,7 @@ private:
unsigned startIndex,
unsigned numCharacters,
const SimpleFontData* currentFont,
- unsigned currentFontRangeFrom,
- unsigned currentFontRangeTo,
+ PassRefPtr<UnicodeRangeSet> currentFontRangeSet,
UScriptCode currentRunScript,
hb_language_t);
bool extractShapeResults(hb_buffer_t* harfBuzzBuffer,

Powered by Google App Engine
This is Rietveld 408576698