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_file_system_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_file_system_thunk.cc
diff --git a/ppapi/thunk/ppb_file_system_thunk.cc b/ppapi/thunk/ppb_file_system_thunk.cc
index d0d41f8d3f0244886c4a331c54acb631eaf1ff3c..621b7e38663f76e49d8f8e0e2667b00c4d0a4804 100644
--- a/ppapi/thunk/ppb_file_system_thunk.cc
+++ b/ppapi/thunk/ppb_file_system_thunk.cc
@@ -35,7 +35,7 @@ int32_t Open(PP_Resource file_system,
EnterFileSystem enter(file_system, callback, true);
if (enter.failed())
return enter.retval();
- return enter.SetResult(enter.object()->Open(expected_size, callback));
+ return enter.SetResult(enter.object()->Open(expected_size, enter.callback()));
}
PP_FileSystemType GetType(PP_Resource file_system) {

Powered by Google App Engine
This is Rietveld 408576698