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

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

Issue 2401363003: Use anchor node, rather than current selected node, to check editability. (Closed)
Patch Set: Feedback. Created 4 years, 2 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/FrameCaret.h
diff --git a/third_party/WebKit/Source/core/editing/FrameCaret.h b/third_party/WebKit/Source/core/editing/FrameCaret.h
index e0a6bf97c583bf2d3fd4e1c97da6abb24a2f6461..e775097708ff95dff216491b5eeb68ac931789ea 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.h
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.h
@@ -91,6 +91,7 @@ class CORE_EXPORT FrameCaret final : public CaretBase {
// The last node which painted the caret. Retained for clearing the old
// caret when it moves.
Member<Node> m_previousCaretNode;
+ Member<Node> m_previousCaretAnchorNode;
LayoutRect m_previousCaretRect;
CaretVisibility m_caretVisibility;
CaretVisibility m_previousCaretVisibility;

Powered by Google App Engine
This is Rietveld 408576698