Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(691)

Unified Diff: Source/web/LinkHighlight.cpp

Issue 880653004: Blink side of changes to enable cache clearing without a flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mistake in LinkHighlight Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/LinkHighlight.cpp
diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp
index abdd2667d79b802675a57c8303c2d95cba44def1..bbe64cf6e64411ac9730a40a4303a64d5cc51236 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::PaintDefaultBehavior)
disabledMode = GraphicsContext::FullyDisabled;
OwnPtr<GraphicsContext> graphicsContext;

Powered by Google App Engine
This is Rietveld 408576698