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

Unified Diff: cc/test/solid_color_content_layer_client.cc

Issue 1409713002: cc: Remove cc::ContentLayerClient::PaintContents(SkCanvas*, ...). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restore comment Created 5 years, 2 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/test/solid_color_content_layer_client.h ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/solid_color_content_layer_client.cc
diff --git a/cc/test/solid_color_content_layer_client.cc b/cc/test/solid_color_content_layer_client.cc
index bf9ac34502ab1ea2c7394957135240d92a6b9b95..ed84bec41815855c08c567f93002dcdebc0eb556 100644
--- a/cc/test/solid_color_content_layer_client.cc
+++ b/cc/test/solid_color_content_layer_client.cc
@@ -15,17 +15,6 @@
namespace cc {
-// TODO(pdr): Remove PaintContents as all calls should go through
-// PaintContentsToDisplayList.
-void SolidColorContentLayerClient::PaintContents(
- SkCanvas* canvas,
- const gfx::Rect& rect,
- PaintingControlSetting painting_control) {
- scoped_refptr<DisplayItemList> contents =
- PaintContentsToDisplayList(rect, painting_control);
- contents->Raster(canvas, nullptr, rect, 1.0f);
-}
-
scoped_refptr<DisplayItemList>
SolidColorContentLayerClient::PaintContentsToDisplayList(
const gfx::Rect& clip,
« no previous file with comments | « cc/test/solid_color_content_layer_client.h ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698