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

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

Issue 2922553002: Move TextIteratorTextState's member initiailization to class declaration (Closed)
Patch Set: Created 3 years, 7 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 | « third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp
diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp
index f237ddcaf5c04191078cd362c11fe5db1d500cea..9def0b16a701c225292dbdc9c7aede8183699df4 100644
--- a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp
+++ b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp
@@ -34,15 +34,7 @@ namespace blink {
TextIteratorTextState::TextIteratorTextState(
const TextIteratorBehavior& behavior)
- : text_length_(0),
- single_character_buffer_(0),
- position_node_(nullptr),
- position_start_offset_(0),
- position_end_offset_(0),
- has_emitted_(false),
- last_character_(0),
- behavior_(behavior),
- text_start_offset_(0) {}
+ : behavior_(behavior) {}
UChar TextIteratorTextState::CharacterAt(unsigned index) const {
SECURITY_DCHECK(index < static_cast<unsigned>(length()));
« no previous file with comments | « third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698