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

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

Issue 1213213004: Introduce use counters for shadow DOM handling in plainText() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-07-03T14:40:27 Rebase Created 5 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
« no previous file with comments | « Source/core/editing/iterators/CharacterIterator.cpp ('k') | Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/iterators/TextIterator.h
diff --git a/Source/core/editing/iterators/TextIterator.h b/Source/core/editing/iterators/TextIterator.h
index 39a8d236e32344f30ba98157cc9b4027d011eda8..589181b675cfc00251ade54ab899b933a45c8682 100644
--- a/Source/core/editing/iterators/TextIterator.h
+++ b/Source/core/editing/iterators/TextIterator.h
@@ -178,6 +178,9 @@ private:
bool m_handledFirstLetter;
// Used when stopsOnFormControls() is true to determine if the iterator should keep advancing.
bool m_shouldStop;
+ // Used for use counter |InnerTextWithShadowTree| and
+ // |SelectionToStringWithShadowTree|, we should not use other purpose.
+ bool m_handleShadowRoot;
// Contains state of emitted text.
TextIteratorTextState m_textState;
« no previous file with comments | « Source/core/editing/iterators/CharacterIterator.cpp ('k') | Source/core/editing/iterators/TextIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698