| Index: third_party/WebKit/Source/core/dom/Range.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
|
| index cd2864e026863d48c728190ef15cb35193d1806b..f66586e2e0f1b7f57e060422b5f86580b87e6880 100644
|
| --- a/third_party/WebKit/Source/core/dom/Range.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Range.cpp
|
| @@ -1386,9 +1386,9 @@ void Range::nodeWillBeRemoved(Node& node)
|
|
|
| static inline void boundaryTextInserted(RangeBoundaryPoint& boundary, Node* text, unsigned offset, unsigned length)
|
| {
|
| - boundary.markValid();
|
| if (boundary.container() != text)
|
| return;
|
| + boundary.markValid();
|
| unsigned boundaryOffset = boundary.offset();
|
| if (offset >= boundaryOffset)
|
| return;
|
| @@ -1405,9 +1405,9 @@ void Range::didInsertText(Node* text, unsigned offset, unsigned length)
|
|
|
| static inline void boundaryTextRemoved(RangeBoundaryPoint& boundary, Node* text, unsigned offset, unsigned length)
|
| {
|
| - boundary.markValid();
|
| if (boundary.container() != text)
|
| return;
|
| + boundary.markValid();
|
| unsigned boundaryOffset = boundary.offset();
|
| if (offset >= boundaryOffset)
|
| return;
|
|
|