Chromium Code Reviews| 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 47bd7ca3f66fe169625864b769e1fe198805ce72..0072b04b983ef632ea64ab37590fd46f38704742 100644 |
| --- a/third_party/WebKit/Source/core/dom/CharacterData.cpp |
| +++ b/third_party/WebKit/Source/core/dom/CharacterData.cpp |
| @@ -176,6 +176,8 @@ void CharacterData::setDataAndUpdate(const String& newData, |
| unsigned oldLength, |
| unsigned newLength, |
| UpdateSource source) { |
| + updateDistribution(); |
|
hayato
2017/02/07 09:00:01
I am not sure this place is a good place to insert
|
| + |
| if (source != UpdateFromParser) |
| document().dataWillChange(*this); |