| 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 f9b6a3ef887637dec4828db7a3957abcb391fc72..b9e97eb5b61bb87f4219694dac029ca0d9e50510 100644
|
| --- a/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| @@ -134,13 +134,6 @@ void CaretBase::invalidateLocalCaretRect(Node* node, const LayoutRect& rect) {
|
| node->layoutObject()->invalidatePaintRectangle(inflatedRect, this);
|
| }
|
|
|
| -void CaretBase::invalidateCaretRect(Node* node,
|
| - const LayoutRect& caretLocalRect) {
|
| - node->document().updateStyleAndLayoutTree();
|
| - if (hasEditableStyle(*node))
|
| - invalidateLocalCaretRect(node, caretLocalRect);
|
| -}
|
| -
|
| void CaretBase::paintCaret(Node* node,
|
| GraphicsContext& context,
|
| const LayoutRect& caretLocalRect,
|
|
|