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

Unified Diff: ppapi/thunk/ppb_broker_thunk.cc

Issue 10081020: PPAPI: Make blocking completion callbacks work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated TestURLLoader to test blocking callbacks. Created 8 years, 8 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: ppapi/thunk/ppb_broker_thunk.cc
diff --git a/ppapi/thunk/ppb_broker_thunk.cc b/ppapi/thunk/ppb_broker_thunk.cc
index a3ef579d789c9d0b96f8ab355039532312ce01f9..e2f295cda79a2f846154d6d8db79b2e0d11dcf7e 100644
--- a/ppapi/thunk/ppb_broker_thunk.cc
+++ b/ppapi/thunk/ppb_broker_thunk.cc
@@ -31,7 +31,7 @@ int32_t Connect(PP_Resource resource,
EnterResource<PPB_Broker_API> enter(resource, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->Connect(callback));
+ return enter.SetResult(enter.object()->Connect(enter.callback()));
}
int32_t GetHandle(PP_Resource resource, int32_t* handle) {

Powered by Google App Engine
This is Rietveld 408576698