| Index: third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/CaretBase.cpp b/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| index d15c7737fc81a0a3494e04fb6c8ce23fc69fb6db..efe3c5cd32f727da93c6c46576b0178e95388546 100644
|
| --- a/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/CaretBase.cpp
|
| @@ -175,7 +175,7 @@ void CaretBase::invalidateCaretRect(Node* node, bool caretRectChanged)
|
| }
|
| }
|
|
|
| -void CaretBase::paintCaret(Node* node, GraphicsContext* context, const LayoutPoint& paintOffset) const
|
| +void CaretBase::paintCaret(Node* node, GraphicsContext& context, const LayoutPoint& paintOffset) const
|
| {
|
| if (m_caretVisibility == Hidden)
|
| return;
|
| @@ -196,7 +196,7 @@ void CaretBase::paintCaret(Node* node, GraphicsContext* context, const LayoutPoi
|
| if (element && element->layoutObject())
|
| caretColor = element->layoutObject()->resolveColor(CSSPropertyColor);
|
|
|
| - context->fillRect(FloatRect(drawingRect), caretColor);
|
| + context.fillRect(FloatRect(drawingRect), caretColor);
|
| }
|
|
|
| } // namespace blink
|
|
|