Index: cc/resources/picture_unittest.cc |
diff --git a/cc/resources/picture_unittest.cc b/cc/resources/picture_unittest.cc |
index 8a36743928e72b3ad3269d582f9fe4cf2597e8b8..a3910c64fe1d652325b6e2048b3eaa7785033642 100644 |
--- a/cc/resources/picture_unittest.cc |
+++ b/cc/resources/picture_unittest.cc |
@@ -483,7 +483,16 @@ TEST(PictureTest, RecordingModes) { |
EXPECT_EQ(NULL, content_layer_client.last_canvas()); |
EXPECT_TRUE(picture); |
- EXPECT_EQ(3, Picture::RECORDING_MODE_COUNT); |
+ picture = Picture::Create(layer_rect, |
+ &content_layer_client, |
+ tile_grid_info, |
+ false, |
+ 0, |
+ Picture::RECORD_WITH_SKRECORD); |
+ EXPECT_TRUE(content_layer_client.last_canvas() != NULL); |
+ EXPECT_TRUE(picture); |
+ |
+ EXPECT_EQ(4, Picture::RECORDING_MODE_COUNT); |
} |
} // namespace |