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

Unified Diff: Source/platform/fonts/UTF16TextIterator.h

Issue 1242213002: Add tab characters support in complex path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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: Source/platform/fonts/UTF16TextIterator.h
diff --git a/Source/platform/fonts/UTF16TextIterator.h b/Source/platform/fonts/UTF16TextIterator.h
index 6a2ec343fdd5c9f29cc3b531f24b35724766bbf6..f3a4750cb81028b38b77841fde7e4363596fb6c4 100644
--- a/Source/platform/fonts/UTF16TextIterator.h
+++ b/Source/platform/fonts/UTF16TextIterator.h
@@ -37,6 +37,8 @@ public:
// remove once HarfBuzz is used for all text.
UTF16TextIterator(const UChar*, int offset, int endOffset, int length);
+ bool atEnd() const { return m_offset >= m_endOffset; }
+
inline bool consume(UChar32& character)
{
if (m_offset >= m_endOffset)

Powered by Google App Engine
This is Rietveld 408576698