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

Unified Diff: third_party/WebKit/Source/core/editing/CaretDisplayItemClient.h

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: Rebaseline 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/CaretDisplayItemClient.h
diff --git a/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.h b/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.h
index 042a3e570e5ed604beda6811dcb38d1a925a47cf..85f2bf9edabb72c61f8c96d7abde4a7196f7b323 100644
--- a/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.h
+++ b/third_party/WebKit/Source/core/editing/CaretDisplayItemClient.h
@@ -57,12 +57,13 @@ class CaretDisplayItemClient final : public DisplayItemClient {
DisplayItem::Type);
static LayoutBlock* caretLayoutObject(Node*);
- void invalidateLocalCaretRect(Node*, const LayoutRect&);
// DisplayItemClient methods.
LayoutRect visualRect() const final;
String debugName() const final;
+ void setVisualRect(const LayoutRect& r) { m_visualRect = r; }
+
private:
LayoutRect m_visualRect;
};

Powered by Google App Engine
This is Rietveld 408576698