From d779ec97a8cc3cefe257527627ec72ce995113e6 Mon Sep 17 00:00:00 2001 From: "tbreisacher@chromium.org" Date: Tue, 28 Aug 2012 07:00:35 +0000 Subject: Pass large object by const ref CID=104336 BUG= TEST= TBR=dmichael@chromium.org Review URL: https://chromiumcodereview.appspot.com/10831015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153638 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/thunk/enter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ppapi') diff --git a/ppapi/thunk/enter.h b/ppapi/thunk/enter.h index 098a2a8..276f045 100644 --- a/ppapi/thunk/enter.h +++ b/ppapi/thunk/enter.h @@ -203,7 +203,8 @@ class EnterResourceNoLock : public EnterResource { EnterResourceNoLock(PP_Resource resource, bool report_error) : EnterResource(resource, report_error) { } - EnterResourceNoLock(PP_Resource resource, PP_CompletionCallback callback, + EnterResourceNoLock(PP_Resource resource, + const PP_CompletionCallback& callback, bool report_error) : EnterResource(resource, callback, report_error) { } -- cgit v1.1