summaryrefslogtreecommitdiffstats
path: root/cc/layers/ui_resource_layer_unittest.cc
diff options
context:
space:
mode:
authorvmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-17 23:24:18 +0000
committervmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-17 23:24:18 +0000
commitf4f3aee7b587080cf9ebc2fa1e5235a066365a97 (patch)
treedca540e028636252c19ab8a50aa65cc0e59cc070 /cc/layers/ui_resource_layer_unittest.cc
parent2fdf6199cda564079bf743bf98e6c7b8205fc9c4 (diff)
downloadchromium_src-f4f3aee7b587080cf9ebc2fa1e5235a066365a97.zip
chromium_src-f4f3aee7b587080cf9ebc2fa1e5235a066365a97.tar.gz
chromium_src-f4f3aee7b587080cf9ebc2fa1e5235a066365a97.tar.bz2
cc: Remove InitializeOutputSurfaceIfNeeded from tests.
This patch removes InitializeOutputSurfaceIfNeeded from tests that don't actually need to use that function. R=danakj@chromium.org Review URL: https://codereview.chromium.org/139133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers/ui_resource_layer_unittest.cc')
-rw-r--r--cc/layers/ui_resource_layer_unittest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/layers/ui_resource_layer_unittest.cc b/cc/layers/ui_resource_layer_unittest.cc
index 48dbdf5..35d9bd4 100644
--- a/cc/layers/ui_resource_layer_unittest.cc
+++ b/cc/layers/ui_resource_layer_unittest.cc
@@ -58,8 +58,6 @@ TEST_F(UIResourceLayerTest, SetBitmap) {
Mock::VerifyAndClearExpectations(layer_tree_host_.get());
EXPECT_EQ(test_layer->layer_tree_host(), layer_tree_host_.get());
- layer_tree_host_->InitializeOutputSurfaceIfNeeded();
-
ResourceUpdateQueue queue;
OcclusionTracker occlusion_tracker(gfx::Rect(), false);
test_layer->SavePaintProperties();
@@ -88,8 +86,6 @@ TEST_F(UIResourceLayerTest, SetUIResourceId) {
Mock::VerifyAndClearExpectations(layer_tree_host_.get());
EXPECT_EQ(test_layer->layer_tree_host(), layer_tree_host_.get());
- layer_tree_host_->InitializeOutputSurfaceIfNeeded();
-
ResourceUpdateQueue queue;
OcclusionTracker occlusion_tracker(gfx::Rect(), false);
test_layer->SavePaintProperties();