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

Unified Diff: cc/trees/layer_tree_host_pixeltest_masks.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/trees/layer_tree_host_perftest.cc ('k') | cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_pixeltest_masks.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_masks.cc b/cc/trees/layer_tree_host_pixeltest_masks.cc
index 9b386866ee3c4f67e023132aad95faf6a69804c7..5d5022f6c8e4dfae0123e0026e675b6a1fb3cc79 100644
--- a/cc/trees/layer_tree_host_pixeltest_masks.cc
+++ b/cc/trees/layer_tree_host_pixeltest_masks.cc
@@ -29,7 +29,6 @@ class MaskContentLayerClient : public ContentLayerClient {
virtual void PaintContents(
SkCanvas* canvas,
const gfx::Rect& rect,
- gfx::RectF* opaque_rect,
ContentLayerClient::GraphicsContextStatus gc_status) OVERRIDE {
SkPaint paint;
paint.setStyle(SkPaint::kStroke_Style);
@@ -86,7 +85,6 @@ TEST_F(LayerTreeHostMasksPixelTest, ImageMaskOfLayer) {
MaskContentLayerClient client;
client.PaintContents(&canvas,
gfx::Rect(100, 100),
- NULL,
ContentLayerClient::GRAPHICS_CONTEXT_ENABLED);
mask->SetBitmap(bitmap);
« no previous file with comments | « cc/trees/layer_tree_host_perftest.cc ('k') | cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698