| 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 b546a8082bddb9e160d52a19651becfc3d4986dc..8c209c6b2a2160111c1f6d7171df8fcc62bd7b3a 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameCaret.h
|
| +++ b/third_party/WebKit/Source/core/editing/FrameCaret.h
|
| @@ -58,7 +58,7 @@ class CORE_EXPORT FrameCaret final
|
| const DisplayItemClient& displayItemClient() const;
|
| bool isActive() const { return caretPosition().isNotNull(); }
|
|
|
| - void updateAppearance();
|
| + void scheduleVisualUpdateForPaintInvalidationIfNeeded();
|
|
|
| // Used to suspend caret blinking while the mouse is down.
|
| void setCaretBlinkingSuspended(bool suspended) {
|
| @@ -99,8 +99,7 @@ class CORE_EXPORT FrameCaret final
|
| bool shouldBlinkCaret() const;
|
| void caretBlinkTimerFired(TimerBase*);
|
| bool caretPositionIsValidForDocument(const Document&) const;
|
| -
|
| - void scheduleVisualUpdateForPaintInvalidationIfNeeded();
|
| + void updateAppearance();
|
|
|
| const Member<const SelectionEditor> m_selectionEditor;
|
| const Member<LocalFrame> m_frame;
|
| @@ -111,6 +110,7 @@ class CORE_EXPORT FrameCaret final
|
| bool m_shouldPaintCaret : 1;
|
| bool m_isCaretBlinkingSuspended : 1;
|
| bool m_shouldShowBlockCursor : 1;
|
| + bool m_shouldUpdateLayoutAndStyle : 1;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FrameCaret);
|
| };
|
|
|