| 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 1838d904c6a8afe17f12738b85ad50ed800e7c07..88e8b4cbae1aba4927654eec9e8345213e6f0fcc 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
|
| @@ -358,6 +358,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;
|
|
|