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

Unified Diff: cc/resources/resource_update_controller_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/resources/prioritized_resource_unittest.cc ('k') | cc/scheduler/rate_limiter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_update_controller_unittest.cc
diff --git a/cc/resources/resource_update_controller_unittest.cc b/cc/resources/resource_update_controller_unittest.cc
index 6196bd1a00b3a54cecd197a38cf73e991931d587..1060801934b6d0fd49e0141d7295adcb2f3091e8 100644
--- a/cc/resources/resource_update_controller_unittest.cc
+++ b/cc/resources/resource_update_controller_unittest.cc
@@ -70,7 +70,7 @@ class WebGraphicsContext3DForUploadTest : public TestWebGraphicsContext3D {
class ResourceUpdateControllerTest : public Test {
public:
ResourceUpdateControllerTest()
- : proxy_(scoped_ptr<Thread>()),
+ : proxy_(),
queue_(make_scoped_ptr(new ResourceUpdateQueue)),
resource_manager_(PrioritizedResourceManager::Create(&proxy_)),
query_results_available_(0),
@@ -182,7 +182,7 @@ class ResourceUpdateControllerTest : public Test {
impl_thread_and_main_thread_blocked(&proxy_);
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/resources/prioritized_resource_unittest.cc ('k') | cc/scheduler/rate_limiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698