Index: third_party/WebKit/Source/core/editing/DragCaretController.cpp |
diff --git a/third_party/WebKit/Source/core/editing/DragCaretController.cpp b/third_party/WebKit/Source/core/editing/DragCaretController.cpp |
index bfab37a1770cadef12fd2cf96e877c5eef45903b..a2419f894c0bacf34b04fef61455d73431f44c64 100644 |
--- a/third_party/WebKit/Source/core/editing/DragCaretController.cpp |
+++ b/third_party/WebKit/Source/core/editing/DragCaretController.cpp |
@@ -112,10 +112,10 @@ bool DragCaretController::isContentEditable() const |
return rootEditableElementOf(m_position); |
} |
-void DragCaretController::paintDragCaret(LocalFrame* frame, GraphicsContext* p, const LayoutPoint& paintOffset) const |
+void DragCaretController::paintDragCaret(LocalFrame* frame, GraphicsContext& context, const LayoutPoint& paintOffset) const |
{ |
if (m_position.deepEquivalent().anchorNode()->document().frame() == frame) |
- paintCaret(m_position.deepEquivalent().anchorNode(), p, paintOffset); |
+ paintCaret(m_position.deepEquivalent().anchorNode(), context, paintOffset); |
} |
} // namespace blink |