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

Unified Diff: cc/trees/tree_synchronizer_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/trees/tree_synchronizer_unittest.cc
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc
index 6db91467aed71ae8943a143fe7a071222bac0378..b0e211418d36ebe338682416e155ccc860db0883 100644
--- a/cc/trees/tree_synchronizer_unittest.cc
+++ b/cc/trees/tree_synchronizer_unittest.cc
@@ -189,9 +189,12 @@ void ExpectTreesAreIdentical(Layer* layer,
class TreeSynchronizerTest : public testing::Test {
public:
- TreeSynchronizerTest() : host_(FakeLayerTreeHost::Create()) {}
+ TreeSynchronizerTest()
+ : client_(FakeLayerTreeHostClient::DIRECT_3D),
+ host_(FakeLayerTreeHost::Create(&client_)) {}
protected:
+ FakeLayerTreeHostClient client_;
scoped_ptr<FakeLayerTreeHost> host_;
};

Powered by Google App Engine
This is Rietveld 408576698