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

Side by Side Diff: cc/resources/raster_worker_pool.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/resources/raster_worker_pool.h ('k') | cc/resources/raster_worker_pool_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/resources/raster_worker_pool.h" 5 #include "cc/resources/raster_worker_pool.h"
6 6
7 #include "cc/resources/picture_pile_impl.h" 7 #include "cc/resources/picture_pile_impl.h"
8 8
9 namespace cc { 9 namespace cc {
10 10
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 bool RasterWorkerPool::ForceUploadToComplete(const RasterTask& raster_task) { 213 bool RasterWorkerPool::ForceUploadToComplete(const RasterTask& raster_task) {
214 return false; 214 return false;
215 } 215 }
216 216
217 void RasterWorkerPool::SetRasterTasks(RasterTask::Queue* queue) { 217 void RasterWorkerPool::SetRasterTasks(RasterTask::Queue* queue) {
218 raster_tasks_.swap(queue->tasks_); 218 raster_tasks_.swap(queue->tasks_);
219 } 219 }
220 220
221 void RasterWorkerPool::ScheduleRasterTasks(const RootTask& root) { 221 void RasterWorkerPool::ScheduleRasterTasks(const RootTask& root) {
222 WorkerPool::ScheduleTasks(root.internal_); 222 WorkerPool::ScheduleTasks(root.internal_.get());
223 } 223 }
224 224
225 } // namespace cc 225 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/raster_worker_pool.h ('k') | cc/resources/raster_worker_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698