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

Unified Diff: cc/resources/raster_worker_pool.h

Issue 147603006: [#7] Resubmitted - Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resubmit 145313006 Created 6 years, 11 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_manager.cc ('k') | cc/resources/raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_worker_pool.h
diff --git a/cc/resources/raster_worker_pool.h b/cc/resources/raster_worker_pool.h
index 24908928ebfcad7f472c40176ee9e563ee117a6a..a0f0831508733581bdb0e656a7d6068677d2c6cc 100644
--- a/cc/resources/raster_worker_pool.h
+++ b/cc/resources/raster_worker_pool.h
@@ -50,7 +50,7 @@ class CC_EXPORT RasterWorkerPoolTask
// need to be initialized.
virtual bool RunOnWorkerThread(unsigned thread_index,
void* buffer,
- gfx::Size size,
+ const gfx::Size& size,
int stride) = 0;
virtual void RunOnOriginThread(ResourceProvider* resource_provider,
ContextProvider* context_provider) = 0;
« no previous file with comments | « cc/resources/prioritized_resource_manager.cc ('k') | cc/resources/raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698