Commit 9235f2ea authored by danakj's avatar danakj Committed by Commit bot

cc: Stop passing the unused opaque rect out-param to blink.

Blink now has methods that don't take the rect out-param so use those.
Then we can delete the old methods with the out-param in blink.

R=vmpstr
BUG=413479

Review URL: https://codereview.chromium.org/572873005

Cr-Commit-Position: refs/heads/master@{#295092}
parent c41d7ca3
...@@ -54,12 +54,10 @@ void WebContentLayerImpl::PaintContents( ...@@ -54,12 +54,10 @@ void WebContentLayerImpl::PaintContents(
if (!client_) if (!client_)
return; return;
blink::WebFloatRect web_opaque;
client_->paintContents( client_->paintContents(
canvas, canvas,
clip, clip,
can_use_lcd_text_, can_use_lcd_text_,
web_opaque, // TODO(danakj): Remove this.
graphics_context_status == ContentLayerClient::GRAPHICS_CONTEXT_ENABLED graphics_context_status == ContentLayerClient::GRAPHICS_CONTEXT_ENABLED
? blink::WebContentLayerClient::GraphicsContextEnabled ? blink::WebContentLayerClient::GraphicsContextEnabled
: blink::WebContentLayerClient::GraphicsContextDisabled); : blink::WebContentLayerClient::GraphicsContextDisabled);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment