Index: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h |
index 19b1b6bf3f2d653620e61dd3709bc6a5d7106d52..00ae00d911599dc0763a0847c570ee9a18da2123 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.h |
@@ -41,6 +41,11 @@ class PLATFORM_EXPORT RunSegmenter { |
bool consume(RunSegmenterRange*); |
+ static RunSegmenterRange nullRange() { |
+ return {0, 0, USCRIPT_INVALID_CODE, OrientationIterator::OrientationKeep, |
+ FontFallbackPriority::Text}; |
+ } |
+ |
private: |
void consumeOrientationIteratorPastLastSplit(); |
void consumeScriptIteratorPastLastSplit(); |