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

Unified Diff: third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp

Issue 2919433006: Stop using TextIteratorBehavior in TextIteratorTextState (Closed)
Patch Set: Sun Jun 4 22:44:20 PDT 2017 Created 3 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 | « no previous file | third_party/WebKit/Source/core/editing/iterators/TextIteratorTextNodeHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
index 67842006bac0b2a4f0a536e179cf3989e65e4c31..0fe60391467001c2be239417a509e10251f4fd90 100644
--- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
+++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
@@ -187,7 +187,7 @@ TextIteratorAlgorithm<Strategy>::TextIteratorAlgorithm(
shadow_depth_(
ShadowDepthOf<Strategy>(*start_container_, *end_container_)),
behavior_(AdjustBehaviorFlags<Strategy>(behavior)),
- text_state_(new TextIteratorTextState(behavior_)),
+ text_state_(new TextIteratorTextState()),
text_node_handler_(
new TextIteratorTextNodeHandler(behavior_, text_state_)) {
DCHECK(start_container_);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/iterators/TextIteratorTextNodeHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698