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

Unified Diff: Source/core/editing/TextIterator.h

Issue 342483002: The length of a TextIterator containing replaced element is at least 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/core/editing/TextIterator.h
diff --git a/Source/core/editing/TextIterator.h b/Source/core/editing/TextIterator.h
index 7e9afc31e475f7197c382e65026490a3c62f425b..81a5e9a4e0ac5fabb5c4338c46c78634c3e38194 100644
--- a/Source/core/editing/TextIterator.h
+++ b/Source/core/editing/TextIterator.h
@@ -84,6 +84,7 @@ public:
bool atEnd() const { return !m_positionNode || m_shouldStop; }
void advance();
+ bool isInsideReplacedElement();
Yuta Kitamura 2014/06/18 03:14:38 Can this function be const?
int length() const { return m_textLength; }
UChar characterAt(unsigned index) const;

Powered by Google App Engine
This is Rietveld 408576698