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

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

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
Index: third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
index 1be6394d152abe14833609a25ca1a441f553b262..e940484e5313eb882c2a961c790f793f20ff1e0b 100644
--- a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
+++ b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.h
@@ -30,17 +30,14 @@
#include "core/CoreExport.h"
#include "core/dom/Range.h"
#include "core/editing/iterators/ForwardsTextBuffer.h"
-#include "core/editing/iterators/TextIteratorBehavior.h"
#include "platform/wtf/text/WTFString.h"
namespace blink {
-class TextIteratorBehavior;
-
class CORE_EXPORT TextIteratorTextState
: public GarbageCollectedFinalized<TextIteratorTextState> {
public:
- explicit TextIteratorTextState(const TextIteratorBehavior&);
+ TextIteratorTextState() {}
~TextIteratorTextState() {}
// Return properties of the current text.
@@ -107,8 +104,6 @@ class CORE_EXPORT TextIteratorTextState
bool has_emitted_ = false;
UChar last_character_ = 0;
- const TextIteratorBehavior behavior_;
-
DISALLOW_COPY_AND_ASSIGN(TextIteratorTextState);
};

Powered by Google App Engine
This is Rietveld 408576698