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

Unified Diff: cc/output/copy_output_request.h

Issue 145313006: [#7] Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to TOT and fixed build errors on other platforms 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
Index: cc/output/copy_output_request.h
diff --git a/cc/output/copy_output_request.h b/cc/output/copy_output_request.h
index 6d8870d88f4905118f6698a6d9fbe26afde199b6..dcb2fe2567212609d1dc2712323c6eb45537159e 100644
--- a/cc/output/copy_output_request.h
+++ b/cc/output/copy_output_request.h
@@ -62,7 +62,7 @@ class CC_EXPORT CopyOutputRequest {
void SendEmptyResult();
void SendBitmapResult(scoped_ptr<SkBitmap> bitmap);
- void SendTextureResult(gfx::Size size,
+ void SendTextureResult(const gfx::Size& size,
const TextureMailbox& texture_mailbox,
scoped_ptr<SingleReleaseCallback> release_callback);

Powered by Google App Engine
This is Rietveld 408576698