| Index: Source/web/LinkHighlight.cpp
|
| diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp
|
| index abdd2667d79b802675a57c8303c2d95cba44def1..17335ef31aaeb2b528ac832d01b0ef24cbe005aa 100644
|
| --- a/Source/web/LinkHighlight.cpp
|
| +++ b/Source/web/LinkHighlight.cpp
|
| @@ -237,13 +237,13 @@ bool LinkHighlight::computeHighlightLayerPathAndPosition(const RenderLayerModelO
|
| return pathHasChanged;
|
| }
|
|
|
| -void LinkHighlight::paintContents(WebCanvas* canvas, const WebRect& webClipRect, WebContentLayerClient::GraphicsContextStatus contextStatus)
|
| +void LinkHighlight::paintContents(WebCanvas* canvas, const WebRect& webClipRect, WebContentLayerClient::PaintingControlSetting paintingControl)
|
| {
|
| if (!m_node || !m_node->renderer())
|
| return;
|
|
|
| GraphicsContext::DisabledMode disabledMode = GraphicsContext::NothingDisabled;
|
| - if (contextStatus != WebContentLayerClient::GraphicsContextEnabled)
|
| + if (paintingControl == WebContentLayerClient::DisplayListConstructionDisabled)
|
| disabledMode = GraphicsContext::FullyDisabled;
|
|
|
| OwnPtr<GraphicsContext> graphicsContext;
|
|
|