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

Unified Diff: cc/layers/ui_resource_layer_unittest.cc

Issue 348093004: Make cc output surface creation async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android compile fixes Created 6 years, 3 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/ui_resource_layer_unittest.cc
diff --git a/cc/layers/ui_resource_layer_unittest.cc b/cc/layers/ui_resource_layer_unittest.cc
index f6a460e018b54beeec0940a013566a1851ce04d6..784ff3586c8a0baf5d0dd21f20112adab02abb60 100644
--- a/cc/layers/ui_resource_layer_unittest.cc
+++ b/cc/layers/ui_resource_layer_unittest.cc
@@ -34,7 +34,7 @@ class UIResourceLayerTest : public testing::Test {
protected:
virtual void SetUp() {
- layer_tree_host_ = FakeLayerTreeHost::Create();
+ layer_tree_host_ = FakeLayerTreeHost::Create(&fake_client_);
layer_tree_host_->InitializeSingleThreaded(
&fake_client_, base::MessageLoopProxy::current());
}
@@ -43,8 +43,8 @@ class UIResourceLayerTest : public testing::Test {
Mock::VerifyAndClearExpectations(layer_tree_host_.get());
}
- scoped_ptr<FakeLayerTreeHost> layer_tree_host_;
FakeLayerTreeHostClient fake_client_;
+ scoped_ptr<FakeLayerTreeHost> layer_tree_host_;
};
TEST_F(UIResourceLayerTest, SetBitmap) {

Powered by Google App Engine
This is Rietveld 408576698