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

Unified Diff: cc/resources/picture.cc

Issue 565043002: cc: Remove the opaque rect return-parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contentlayerclientopaque: build 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
« no previous file with comments | « cc/resources/layer_updater.h ('k') | cc/resources/prioritized_tile_set_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.cc
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc
index 5be80b150271efa396716e3c114e610bb606eab1..f2d1264e0b525420880045422337f8d224bd0a24 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -272,9 +272,7 @@ void Picture::Record(ContentLayerClient* painter,
layer_rect_.height());
canvas->clipRect(layer_skrect);
- gfx::RectF opaque_layer_rect;
- painter->PaintContents(
- canvas.get(), layer_rect_, &opaque_layer_rect, graphics_context_status);
+ painter->PaintContents(canvas.get(), layer_rect_, graphics_context_status);
canvas->restore();
picture_ = skia::AdoptRef(recorder.endRecording());
« no previous file with comments | « cc/resources/layer_updater.h ('k') | cc/resources/prioritized_tile_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698