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

Unified Diff: third_party/WebKit/Source/core/editing/CaretBase.cpp

Issue 2650633002: Move CaretBase::invalidateCaretRect() to DragCaretController (Closed)
Patch Set: 2017-01-23T13:45:50 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/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,
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.h ('k') | third_party/WebKit/Source/core/editing/DragCaretController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698