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

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: 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: cc/resources/picture.cc
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc
index d3ca2966599af9c29dd773d084a9fdbb44196246..adc85de3d53e2610a45a780ca35daf41a05722d4 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -257,9 +257,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());

Powered by Google App Engine
This is Rietveld 408576698