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

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

Issue 2320933002: Get rid of unused parameter from CaretBase::invalidateCaretRect() (Closed)
Patch Set: 2016-09-08T13:53:37 Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « third_party/WebKit/Source/core/editing/CaretBase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698