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

Unified Diff: cc/output/copy_output_result.h

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/output/copy_output_request.cc ('k') | cc/output/copy_output_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/copy_output_result.h
diff --git a/cc/output/copy_output_result.h b/cc/output/copy_output_result.h
index b4806581c3fa1b510df0764ac2696fca5d11a710..c2f011d20fc41aaeeeff2594634c5447656038ee 100644
--- a/cc/output/copy_output_result.h
+++ b/cc/output/copy_output_result.h
@@ -26,7 +26,7 @@
return make_scoped_ptr(new CopyOutputResult(bitmap.Pass()));
}
static scoped_ptr<CopyOutputResult> CreateTextureResult(
- const gfx::Size& size,
+ gfx::Size size,
const TextureMailbox& texture_mailbox,
scoped_ptr<SingleReleaseCallback> release_callback) {
return make_scoped_ptr(
@@ -47,7 +47,7 @@
private:
CopyOutputResult();
explicit CopyOutputResult(scoped_ptr<SkBitmap> bitmap);
- explicit CopyOutputResult(const gfx::Size& size,
+ explicit CopyOutputResult(gfx::Size size,
const TextureMailbox& texture_mailbox,
scoped_ptr<SingleReleaseCallback> release_callback);
« no previous file with comments | « cc/output/copy_output_request.cc ('k') | cc/output/copy_output_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698