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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp

Issue 2686503003: Add support for shaping a substring to HarfBuzzShaper (Closed)
Patch Set: Cleanup comments and adjust tolerance 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
Index: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
index 08041134784c18761eaf387b5d716b1c0edccd84..7019bc6a2dc0c103a816578c66b31768934b9c16 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
@@ -18,9 +18,7 @@ RunSegmenter::RunSegmenter(const UChar* buffer,
unsigned bufferSize,
FontOrientation runOrientation)
: m_bufferSize(bufferSize),
- m_candidateRange({0, 0, USCRIPT_INVALID_CODE,
- OrientationIterator::OrientationKeep,
- FontFallbackPriority::Text}),
+ m_candidateRange(nullRange()),
m_scriptRunIterator(
WTF::makeUnique<ScriptRunIterator>(buffer, bufferSize)),
m_orientationIterator(

Powered by Google App Engine
This is Rietveld 408576698