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

Unified Diff: cc/layers/tiled_layer_unittest.cc

Issue 17114008: cc: Remove cc::Thread and cc::ThreadImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-thread: NULLrefptrs Created 7 years, 6 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/layers/texture_layer_unittest.cc ('k') | cc/resources/prioritized_resource_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/tiled_layer_unittest.cc
diff --git a/cc/layers/tiled_layer_unittest.cc b/cc/layers/tiled_layer_unittest.cc
index c3d8d287b2bfea168f4a8cc1ddc4f8bbd263870c..ae07e4059b75e16beba25497ef06ae383f6d8b49 100644
--- a/cc/layers/tiled_layer_unittest.cc
+++ b/cc/layers/tiled_layer_unittest.cc
@@ -56,8 +56,9 @@ class TiledLayerTest : public testing::Test {
}
virtual void SetUp() {
- layer_tree_host_ = LayerTreeHost::Create(
- &fake_layer_impl_tree_host_client_, settings_, scoped_ptr<Thread>());
+ layer_tree_host_ = LayerTreeHost::Create(&fake_layer_impl_tree_host_client_,
+ settings_,
+ NULL);
proxy_ = layer_tree_host_->proxy();
resource_manager_ = PrioritizedResourceManager::Create(proxy_);
layer_tree_host_->InitializeOutputSurfaceIfNeeded();
@@ -97,7 +98,7 @@ class TiledLayerTest : public testing::Test {
DCHECK(queue_);
scoped_ptr<ResourceUpdateController> update_controller =
ResourceUpdateController::Create(NULL,
- NULL,
+ proxy_->ImplThreadTaskRunner(),
queue_.Pass(),
resource_provider_.get());
update_controller->Finalize();
« no previous file with comments | « cc/layers/texture_layer_unittest.cc ('k') | cc/resources/prioritized_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698