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

Unified Diff: third_party/WebKit/Source/core/dom/CharacterData.cpp

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: Rebaseline Created 3 years, 11 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/dom/CharacterData.cpp
diff --git a/third_party/WebKit/Source/core/dom/CharacterData.cpp b/third_party/WebKit/Source/core/dom/CharacterData.cpp
index 6605cf0cdcaffbe291a42eb3b2a1d79e8ff1868b..37faa0672cbb7108596acd707537fb3e89173052 100644
--- a/third_party/WebKit/Source/core/dom/CharacterData.cpp
+++ b/third_party/WebKit/Source/core/dom/CharacterData.cpp
@@ -176,9 +176,6 @@ void CharacterData::setDataAndUpdate(const String& newData,
unsigned oldLength,
unsigned newLength,
UpdateSource source) {
- if (source != UpdateFromParser)
- document().dataWillChange(*this);
-
String oldData = m_data;
m_data = newData;

Powered by Google App Engine
This is Rietveld 408576698