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

Unified Diff: cc/trees/occlusion_tracker_perftest.cc

Issue 1356463002: Revert of cc: Implement shared worker contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion_tracker_perftest.cc
diff --git a/cc/trees/occlusion_tracker_perftest.cc b/cc/trees/occlusion_tracker_perftest.cc
index 01b63de6279a7a092908b496c37d10d1459347ad..209399dce1110e643a9fa4e2bbdfc2108a81b01b 100644
--- a/cc/trees/occlusion_tracker_perftest.cc
+++ b/cc/trees/occlusion_tracker_perftest.cc
@@ -35,14 +35,13 @@
base::TimeDelta::FromMilliseconds(kTimeLimitMillis),
kTimeCheckInterval),
proxy_(base::ThreadTaskRunnerHandle::Get(), nullptr),
- impl_(&proxy_),
- output_surface_(FakeOutputSurface::Create3d()) {}
+ impl_(&proxy_) {}
void CreateHost() {
LayerTreeSettings settings;
host_impl_ = LayerTreeHostImpl::Create(settings, &client_, &proxy_, &stats_,
&shared_bitmap_manager_, nullptr,
&task_graph_runner_, 1);
- host_impl_->InitializeRenderer(output_surface_.get());
+ host_impl_->InitializeRenderer(FakeOutputSurface::Create3d());
scoped_ptr<LayerImpl> root_layer = LayerImpl::Create(active_tree(), 1);
root_layer->SetHasRenderSurface(true);
@@ -72,7 +71,6 @@
FakeRenderingStatsInstrumentation stats_;
TestSharedBitmapManager shared_bitmap_manager_;
TestTaskGraphRunner task_graph_runner_;
- scoped_ptr<OutputSurface> output_surface_;
scoped_ptr<LayerTreeHostImpl> host_impl_;
};
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698