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

Unified Diff: cc/test/fake_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/fake_content_layer_client.h ('k') | cc/test/solid_color_content_layer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer_client.cc
diff --git a/cc/test/fake_content_layer_client.cc b/cc/test/fake_content_layer_client.cc
index 39966544101c5174c5bafca265ad8808e7e33f5c..9f75d8920bb69d52c49eb5be432425a9fb2592ac 100644
--- a/cc/test/fake_content_layer_client.cc
+++ b/cc/test/fake_content_layer_client.cc
@@ -15,11 +15,13 @@ FakeContentLayerClient::FakeContentLayerClient()
FakeContentLayerClient::~FakeContentLayerClient() {
}
-void FakeContentLayerClient::PaintContents(SkCanvas* canvas,
- const gfx::Rect& paint_rect, gfx::RectF* opaque_rect) {
+void FakeContentLayerClient::PaintContents(
+ SkCanvas* canvas,
+ const gfx::Rect& paint_rect,
+ gfx::RectF* opaque_rect,
+ ContentLayerClient::GraphicsContextStatus gc_status) {
last_canvas_ = canvas;
- if (!canvas)
- return;
+ last_context_status_ = gc_status;
if (paint_all_opaque_)
*opaque_rect = paint_rect;
« no previous file with comments | « cc/test/fake_content_layer_client.h ('k') | cc/test/solid_color_content_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698