| Index: third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| index 97075b36f471ea1378c5215d37fd8755b1c3dcc4..b0d81637cb291e4ec5785cde3957ecbb8f67d451 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| @@ -361,6 +361,10 @@ public:
|
| bool hasCursorCaret() const;
|
| bool hasDragCaret() const;
|
| bool hasCaret() const { return hasCursorCaret() || hasDragCaret(); }
|
| + void invalidateCaret() const;
|
| +
|
| +protected:
|
| + PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState&) override;
|
|
|
| private:
|
| LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = nullptr) final;
|
|
|