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

Unified Diff: ppapi/thunk/enter.h

Issue 10831015: Pass large object by const ref (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/enter.h
diff --git a/ppapi/thunk/enter.h b/ppapi/thunk/enter.h
index 098a2a81351eba2080dfe66007f3c267e96885e4..276f0457647d07d08f367cbced88430fdf781c3c 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) {
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698