| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index ee831506a2b5a0e024b16756bb4b798dc9330948..5a5f03ca12af958d053a017430e64f43cded1d55 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -1458,14 +1458,11 @@ void CaretBase::paintCaret(Node* node, GraphicsContext* context, const LayoutPoi
|
| return;
|
|
|
| Color caretColor = Color::black;
|
| - ColorSpace colorSpace = ColorSpaceDeviceRGB;
|
| Element* element = node->rootEditableElement();
|
| - if (element && element->renderer()) {
|
| + if (element && element->renderer())
|
| caretColor = element->renderer()->style()->visitedDependentColor(CSSPropertyColor);
|
| - colorSpace = element->renderer()->style()->colorSpace();
|
| - }
|
|
|
| - context->fillRect(caret, caretColor, colorSpace);
|
| + context->fillRect(caret, caretColor);
|
| }
|
|
|
| void FrameSelection::debugRenderer(RenderObject *r, bool selected) const
|
|
|