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

Unified Diff: cc/resources/image_copy_raster_worker_pool.h

Issue 479183002: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated the 'nit' comment Created 6 years, 4 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 | « no previous file | cc/resources/image_raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/image_copy_raster_worker_pool.h
diff --git a/cc/resources/image_copy_raster_worker_pool.h b/cc/resources/image_copy_raster_worker_pool.h
index 62cf3d064a6c90bd83acbdca52e80b60fd77049c..414c70057d4b345b91b269f75327ad0258e1fad5 100644
--- a/cc/resources/image_copy_raster_worker_pool.h
+++ b/cc/resources/image_copy_raster_worker_pool.h
@@ -102,9 +102,6 @@ class CC_EXPORT ImageCopyRasterWorkerPool : public RasterWorkerPool,
bool raster_tasks_pending_;
bool raster_tasks_required_for_activation_pending_;
- base::WeakPtrFactory<ImageCopyRasterWorkerPool>
- raster_finished_weak_ptr_factory_;
-
scoped_refptr<RasterizerTask> raster_finished_task_;
scoped_refptr<RasterizerTask> raster_required_for_activation_finished_task_;
@@ -113,6 +110,9 @@ class CC_EXPORT ImageCopyRasterWorkerPool : public RasterWorkerPool,
TaskGraph graph_;
Task::Vector completed_tasks_;
+ base::WeakPtrFactory<ImageCopyRasterWorkerPool>
+ raster_finished_weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ImageCopyRasterWorkerPool);
};
« no previous file with comments | « no previous file | cc/resources/image_raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698