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

Unified Diff: cc/resources/picture_unittest.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/resources/picture_unittest.cc
diff --git a/cc/resources/picture_unittest.cc b/cc/resources/picture_unittest.cc
index 8a36743928e72b3ad3269d582f9fe4cf2597e8b8..1a2bf0d8a78fb13f13b69e316b6f3e767adf869e 100644
--- a/cc/resources/picture_unittest.cc
+++ b/cc/resources/picture_unittest.cc
@@ -480,7 +480,7 @@ TEST(PictureTest, RecordingModes) {
false,
0,
Picture::RECORD_WITH_PAINTING_DISABLED);
- EXPECT_EQ(NULL, content_layer_client.last_canvas());
+ EXPECT_TRUE(content_layer_client.last_canvas() != NULL);
Sami 2014/04/29 10:57:23 Could we also check that content_layer_client was
Stephen Chennney 2014/04/29 20:30:45 There is no way to get to the context to ask it if
Sami 2014/04/29 20:47:48 I was more thinking of extending cc's FakeContentL
EXPECT_TRUE(picture);
EXPECT_EQ(3, Picture::RECORDING_MODE_COUNT);
« cc/resources/picture.cc ('K') | « cc/resources/picture.cc ('k') | ui/compositor/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698