| Index: third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/CaretBase.cpp b/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| index 2396208471db959434750bfd532e3f8944d04fc4..3121d3dd5eadd84ae7825d5e14888efc0fbe78de 100644
|
| --- a/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| @@ -181,11 +181,8 @@ bool CaretBase::shouldRepaintCaret(const LayoutViewItem view) const
|
| return false;
|
| }
|
|
|
| -void CaretBase::invalidateCaretRect(Node* node, bool caretRectChanged)
|
| +void CaretBase::invalidateCaretRect(Node* node)
|
| {
|
| - if (caretRectChanged)
|
| - return;
|
| -
|
| if (LayoutViewItem view = node->document().layoutViewItem()) {
|
| node->document().updateStyleAndLayoutTree();
|
| if (hasEditableStyle(*node) || shouldRepaintCaret(view))
|
|
|