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

Unified Diff: ppapi/thunk/ppb_talk_private_thunk.cc

Issue 10800026: Save PP_CompletionCallback in ppb_talk_private_thunk.cc (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/ppb_talk_private_thunk.cc
diff --git a/ppapi/thunk/ppb_talk_private_thunk.cc b/ppapi/thunk/ppb_talk_private_thunk.cc
index 27856883e288d4fb7261a121536c459bb2608a5f..b930d24e93aeaa84de037d7c3dd6031a06856994 100644
--- a/ppapi/thunk/ppb_talk_private_thunk.cc
+++ b/ppapi/thunk/ppb_talk_private_thunk.cc
@@ -23,7 +23,7 @@ PP_Resource Create(PP_Instance instance) {
int32_t GetPermission(PP_Resource resource,
PP_CompletionCallback callback) {
- EnterResource<PPB_Talk_Private_API> enter(resource, true);
+ EnterResource<PPB_Talk_Private_API> enter(resource, callback, true);
if (enter.failed())
return PP_ERROR_BADRESOURCE;
return enter.SetResult(enter.object()->GetPermission(enter.callback()));
« 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