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

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

Issue 2271883002: Fix paint invalidation and painting for composited-scrolling input elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 4 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.h
diff --git a/third_party/WebKit/Source/core/editing/CaretBase.h b/third_party/WebKit/Source/core/editing/CaretBase.h
index a69b67a91728c8b64ad8b3391916e82c68ca5a17..ba8b9ce2aebf0b980110140af20239a79bd4d868 100644
--- a/third_party/WebKit/Source/core/editing/CaretBase.h
+++ b/third_party/WebKit/Source/core/editing/CaretBase.h
@@ -35,6 +35,7 @@
namespace blink {
class CullRect;
+class DisplayItemClient;
class LocalFrame;
class GraphicsContext;
class LayoutBlock;
@@ -72,6 +73,8 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
+ static DisplayItemClient* displayItemClientForCaret(Node*);
+
LayoutRect m_caretLocalRect; // caret rect in coords local to the layoutObject responsible for painting the caret
CaretVisibility m_caretVisibility;
};

Powered by Google App Engine
This is Rietveld 408576698