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 07eebddf33c3a85c0f39b62889e77d5e5184f5b0..f333b192657147cec9c1d807b7e062e3a30bc452 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -3840,6 +3840,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) |