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

Unified Diff: cc/layers/picture_image_layer.cc

Issue 253013003: Enable disabling WebCore::GraphicsContext in telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed git issues. 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/layers/picture_image_layer.cc
diff --git a/cc/layers/picture_image_layer.cc b/cc/layers/picture_image_layer.cc
index c041936573bcbc1fd9df106a63675fe4a1411b8c..bd6b832e5ba7756d1845a6d028b7a2bccb36c3ab 100644
--- a/cc/layers/picture_image_layer.cc
+++ b/cc/layers/picture_image_layer.cc
@@ -42,7 +42,8 @@ void PictureImageLayer::SetBitmap(const SkBitmap& bitmap) {
void PictureImageLayer::PaintContents(SkCanvas* canvas,
const gfx::Rect& clip,
- gfx::RectF* opaque) {
+ gfx::RectF* opaque,
+ bool disableContext) {
if (!canvas || !bitmap_.width() || !bitmap_.height())
Sami 2014/04/29 10:57:23 I think we can now also remove all the null checks
Stephen Chennney 2014/04/29 20:30:45 Done.
return;

Powered by Google App Engine
This is Rietveld 408576698