Index: Source/WebCore/editing/FrameSelection.h |
=================================================================== |
--- Source/WebCore/editing/FrameSelection.h (revision 139576) |
+++ Source/WebCore/editing/FrameSelection.h (working copy) |
@@ -65,10 +65,8 @@ |
void clearCaretRect(); |
bool updateCaretRect(Document*, const VisiblePosition& caretPosition); |
IntRect absoluteBoundsForLocalRect(Node*, const LayoutRect&) const; |
- IntRect caretRepaintRect(Node*) const; |
bool shouldRepaintCaret(const RenderView*, bool isContentEditable) const; |
void paintCaret(Node*, GraphicsContext*, const LayoutPoint&, const LayoutRect& clipRect) const; |
- RenderObject* caretRenderer(Node*) const; |
const LayoutRect& localCaretRectWithoutUpdate() const { return m_caretLocalRect; } |
@@ -302,13 +300,13 @@ |
VisiblePosition m_originalBase; // Used to store base before the adjustment at bidi boundary |
TextGranularity m_granularity; |
+ RefPtr<Node> m_previousCaretNode; // The last node which painted the caret. Retained for clearing the old caret when it moves. |
+ |
RefPtr<EditingStyle> m_typingStyle; |
Timer<FrameSelection> m_caretBlinkTimer; |
// The painted bounds of the caret in absolute coordinates |
IntRect m_absCaretBounds; |
- // Similar to above, but inflated to ensure proper repaint (see https://bugs.webkit.org/show_bug.cgi?id=19086) |
- IntRect m_absoluteCaretRepaintBounds; |
bool m_absCaretBoundsDirty : 1; |
bool m_caretPaint : 1; |
bool m_isCaretBlinkingSuspended : 1; |