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

Unified Diff: Source/web/LinkHighlight.cpp

Issue 554183004: Add an alternate paintContents method to WebContentLayerClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: opaquerecttracking: expectations Created 6 years, 3 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 02427c9181cbe358b868d3f648e1bf9c41a09049..f5a11e20402c45a2287dfdbca070c50b775d8a03 100644
--- a/Source/web/LinkHighlight.cpp
+++ b/Source/web/LinkHighlight.cpp
@@ -252,8 +252,12 @@ bool LinkHighlight::computeHighlightLayerPathAndPosition(RenderLayer* compositin
return pathHasChanged;
}
-void LinkHighlight::paintContents(WebCanvas* canvas, const WebRect& webClipRect, bool, WebFloatRect&,
- WebContentLayerClient::GraphicsContextStatus contextStatus)
+void LinkHighlight::paintContents(WebCanvas* canvas, const WebRect& webClipRect, bool canPaintLCDText, WebFloatRect&, WebContentLayerClient::GraphicsContextStatus contextStatus)
+{
+ paintContents(canvas, webClipRect, canPaintLCDText, contextStatus);
+}
+
+void LinkHighlight::paintContents(WebCanvas* canvas, const WebRect& webClipRect, bool, WebContentLayerClient::GraphicsContextStatus contextStatus)
{
if (!m_node || !m_node->renderer())
return;

Powered by Google App Engine
This is Rietveld 408576698