Index: cc/layers/picture_layer_unittest.cc |
diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc |
index 0e3d8fa8ec350956cbf9125040b5c033e2ff3f07..545b332e047e16ae5202c45a456b3699b7be9d9b 100644 |
--- a/cc/layers/picture_layer_unittest.cc |
+++ b/cc/layers/picture_layer_unittest.cc |
@@ -84,22 +84,5 @@ TEST(PictureLayerTest, SuitableForGpuRasterization) { |
EXPECT_FALSE(layer->IsSuitableForGpuRasterization()); |
} |
-TEST(PictureLayerTest, RecordingModes) { |
- MockContentLayerClient client; |
- scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); |
- |
- LayerTreeSettings settings; |
- FakeLayerTreeHostClient host_client(FakeLayerTreeHostClient::DIRECT_3D); |
- scoped_ptr<FakeLayerTreeHost> host = |
- FakeLayerTreeHost::Create(&host_client, settings); |
- host->SetRootLayer(layer); |
- EXPECT_EQ(Picture::RECORD_NORMALLY, layer->RecordingMode()); |
- |
- settings.recording_mode = LayerTreeSettings::RecordWithSkRecord; |
- host = FakeLayerTreeHost::Create(&host_client, settings); |
- host->SetRootLayer(layer); |
- EXPECT_EQ(Picture::RECORD_WITH_SKRECORD, layer->RecordingMode()); |
-} |
- |
} // namespace |
} // namespace cc |