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

Unified Diff: cc/resources/raster_worker_pool_unittest.cc

Issue 142863008: Revert of [#7] Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/raster_worker_pool.cc ('k') | cc/resources/resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_worker_pool_unittest.cc
diff --git a/cc/resources/raster_worker_pool_unittest.cc b/cc/resources/raster_worker_pool_unittest.cc
index 7ceddc943be74c8ac236ed338df06a574131ed01..1f5d95c446d8f8ddf4da272e50a7f2d221900ec0 100644
--- a/cc/resources/raster_worker_pool_unittest.cc
+++ b/cc/resources/raster_worker_pool_unittest.cc
@@ -44,7 +44,7 @@
// Overridden from internal::RasterWorkerPoolTask:
virtual bool RunOnWorkerThread(unsigned thread_index,
void* buffer,
- const gfx::Size& size,
+ gfx::Size size,
int stride) OVERRIDE {
raster_thread_ = RASTER_THREAD_WORKER;
return true;
@@ -85,7 +85,7 @@
// Overridden from internal::RasterWorkerPoolTask:
virtual bool RunOnWorkerThread(unsigned thread_index,
void* buffer,
- const gfx::Size& size,
+ gfx::Size size,
int stride) OVERRIDE {
base::AutoLock lock(*lock_);
return TestRasterWorkerPoolTaskImpl::RunOnWorkerThread(
« no previous file with comments | « cc/resources/raster_worker_pool.cc ('k') | cc/resources/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698