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

Unified Diff: cc/test/solid_color_content_layer_client.cc

Issue 253013003: Enable disabling WebCore::GraphicsContext in telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 6 years, 8 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 c61f85589a6031b2e6454544dfe0af9efa242b26..8c9de1c1f33f8c782832a5a2193856d275cf6dc0 100644
--- a/cc/test/solid_color_content_layer_client.cc
+++ b/cc/test/solid_color_content_layer_client.cc
@@ -12,9 +12,10 @@
namespace cc {
void SolidColorContentLayerClient::PaintContents(
- SkCanvas* canvas, const gfx::Rect& rect, gfx::RectF* opaque_rect) {
- if (!canvas)
- return;
+ SkCanvas* canvas,
+ const gfx::Rect& rect,
+ gfx::RectF* opaque_rect,
+ ContentLayerClient::GraphicsContextStatus gc_status) {
SkPaint paint;
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(color_);
« 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