Enable disabling WebCore::GraphicsContext in telemetry.

Plumb a flag through from telemetry tests to the layer
painting code that disables the WebCore::GraphicsContext.
This allows us to isolate the various systems that paint
web content in Chromium.

[email protected],[email protected]
BUG=350684

Review URL: https://codereview.chromium.org/253013003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267913 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index c42cbfe5..3cc7aa8 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -315,7 +315,10 @@
 
   // ContentLayerClient
   virtual void PaintContents(
-      SkCanvas* canvas, const gfx::Rect& clip, gfx::RectF* opaque) OVERRIDE;
+      SkCanvas* canvas,
+      const gfx::Rect& clip,
+      gfx::RectF* opaque,
+      ContentLayerClient::GraphicsContextStatus gc_status) OVERRIDE;
   virtual void DidChangeLayerCanUseLCDText() OVERRIDE {}
   virtual bool FillsBoundsCompletely() const OVERRIDE;