summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authortbreisacher@chromium.org <tbreisacher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-28 07:00:35 +0000
committertbreisacher@chromium.org <tbreisacher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-28 07:00:35 +0000
commitd779ec97a8cc3cefe257527627ec72ce995113e6 (patch)
treeee695d77ca257d0d754254277af63274d447357f /ppapi
parent3b8a1974aa8cfd5745b20657f867b5e712c1b3c4 (diff)
downloadchromium_src-d779ec97a8cc3cefe257527627ec72ce995113e6.zip
chromium_src-d779ec97a8cc3cefe257527627ec72ce995113e6.tar.gz
chromium_src-d779ec97a8cc3cefe257527627ec72ce995113e6.tar.bz2
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
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/thunk/enter.h3
1 files changed, 2 insertions, 1 deletions
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<ResourceT, false> {
EnterResourceNoLock(PP_Resource resource, bool report_error)
: EnterResource<ResourceT, false>(resource, report_error) {
}
- EnterResourceNoLock(PP_Resource resource, PP_CompletionCallback callback,
+ EnterResourceNoLock(PP_Resource resource,
+ const PP_CompletionCallback& callback,
bool report_error)
: EnterResource<ResourceT, false>(resource, callback, report_error) {
}