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

Unified Diff: cc/trees/layer_tree_host_pixeltest_masks.cc

Issue 253013003: Enable disabling WebCore::GraphicsContext in telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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
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 913d63f6ccd97dd6ecc0220b27f172a5cabb9505..e212cad0667b343dde380010df0907b3926a535d 100644
--- a/cc/trees/layer_tree_host_pixeltest_masks.cc
+++ b/cc/trees/layer_tree_host_pixeltest_masks.cc
@@ -26,9 +26,13 @@ class MaskContentLayerClient : public ContentLayerClient {
virtual bool FillsBoundsCompletely() const OVERRIDE { return false; }
- virtual void PaintContents(SkCanvas* canvas,
- const gfx::Rect& rect,
- gfx::RectF* opaque_rect) OVERRIDE {
+ virtual void PaintContents(
+ SkCanvas* canvas,
+ const gfx::Rect& rect,
+ gfx::RectF* opaque_rect,
+ ContentLayerClient::GraphicsContextStatus
+ graphics_context_status = ContentLayerClient::GraphicsContextEnabled)
Sami 2014/05/01 16:32:53 Ditto about default parameters.
Stephen Chennney 2014/05/01 19:12:26 Done.
+ OVERRIDE {
SkPaint paint;
paint.setStyle(SkPaint::kStroke_Style);
paint.setStrokeWidth(SkIntToScalar(2));

Powered by Google App Engine
This is Rietveld 408576698