| Index: third_party/WebKit/Source/core/editing/FrameSelection.h
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h
|
| index 7ae465cda55a0e2d1333347929d9ce3b57d216f6..3c822da0e04f3d578a330c077d5fc1352bb7f4cd 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.h
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
|
| @@ -188,7 +188,6 @@ public:
|
| void scheduleVisualUpdate() const;
|
| void invalidateCaretRect();
|
| void paintCaret(GraphicsContext&, const LayoutPoint&);
|
| - bool ShouldPaintCaretForTesting() const { return m_shouldPaintCaret; }
|
|
|
| // Used to suspend caret blinking while the mouse is down.
|
| void setCaretBlinkingSuspended(bool suspended) { m_isCaretBlinkingSuspended = suspended; }
|
| @@ -287,6 +286,10 @@ private:
|
|
|
| GranularityStrategy* granularityStrategy();
|
|
|
| + // For unittests
|
| + bool shouldPaintCaretForTesting() const { return m_shouldPaintCaret; }
|
| + bool isPreviousCaretDirtyForTesting() const { return m_previousCaretNode; }
|
| +
|
| RawPtrWillBeMember<LocalFrame> m_frame;
|
| const OwnPtrWillBeMember<PendingSelection> m_pendingSelection;
|
| const OwnPtrWillBeMember<SelectionEditor> m_selectionEditor;
|
|
|