Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index a54bd6b84c3e8ec8ff06867d96bc01891e02efbb..ac43c9f09959bf391627f68b833266a23d4ddeb7 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -3862,6 +3862,12 @@ void Document::nodeWillBeRemoved(Node& n) |
} |
} |
+void Document::dataWillChange(const CharacterData& characterData) |
+{ |
+ if (LocalFrame* frame = this->frame()) |
+ frame->selection().dataWillChange(characterData); |
+} |
+ |
void Document::didInsertText(Node* text, unsigned offset, unsigned length) |
{ |
for (Range* range : m_ranges) |