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

Unified Diff: cc/layers/delegated_renderer_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/delegated_renderer_layer_unittest.cc
diff --git a/cc/layers/delegated_renderer_layer_unittest.cc b/cc/layers/delegated_renderer_layer_unittest.cc
index ce7dab013e54f6e2e83b92696cad1e1ca94a6721..f243d73c260927298c79d506910b5b6431876914 100644
--- a/cc/layers/delegated_renderer_layer_unittest.cc
+++ b/cc/layers/delegated_renderer_layer_unittest.cc
@@ -18,16 +18,18 @@ namespace {
class DelegatedRendererLayerTest : public testing::Test {
public:
- DelegatedRendererLayerTest() : proxy_() {
+ DelegatedRendererLayerTest()
+ : proxy_(), host_client_(FakeLayerTreeHostClient::DIRECT_3D) {
LayerTreeSettings settings;
settings.minimum_occlusion_tracking_size = gfx::Size();
- host_impl_ = FakeLayerTreeHost::Create(settings);
+ host_impl_ = FakeLayerTreeHost::Create(&host_client_, settings);
host_impl_->SetViewportSize(gfx::Size(10, 10));
}
protected:
FakeProxy proxy_;
+ FakeLayerTreeHostClient host_client_;
TestSharedBitmapManager shared_bitmap_manager_;
scoped_ptr<LayerTreeHost> host_impl_;
};

Powered by Google App Engine
This is Rietveld 408576698