Skip to content

Commit

Permalink
cc: Stop passing the unused opaque rect out-param to blink.
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
danakj authored and Commit bot committed Sep 16, 2014
1 parent c41d7ca commit 9235f2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cc/blink/web_content_layer_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ void WebContentLayerImpl::PaintContents(
if (!client_)
return;

blink::WebFloatRect web_opaque;
client_->paintContents(
canvas,
clip,
can_use_lcd_text_,
web_opaque, // TODO(danakj): Remove this.
graphics_context_status == ContentLayerClient::GRAPHICS_CONTEXT_ENABLED
? blink::WebContentLayerClient::GraphicsContextEnabled
: blink::WebContentLayerClient::GraphicsContextDisabled);
Expand Down

0 comments on commit 9235f2e

Please sign in to comment.