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

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

Issue 2293293003: Make CaretBase a DisplayItemClient. (Closed)
Patch Set: Update docs and sync to head. 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
Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 74496ba8aa75966a2bc24c1cc4a04e1198fbe180..85b7535565c7387fa580b8f0223add69d5125224 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -708,9 +708,9 @@ IntRect FrameSelection::absoluteCaretBounds()
return m_frameCaret->absoluteCaretBounds();
}
-void FrameSelection::invalidateCaretRect()
+void FrameSelection::invalidateCaretRect(bool forceInvalidation)
{
- m_frameCaret->invalidateCaretRect();
+ m_frameCaret->invalidateCaretRect(forceInvalidation);
}
void FrameSelection::dataWillChange(const CharacterData& node)
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameSelection.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698