diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 00:45:43 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-21 00:45:43 +0000 |
commit | 64264efa8b4a0bf37b19042f295f9990a7f388c9 (patch) | |
tree | 5e7cbf44e04f00388078da62d6e0eed878da3d6d /webkit/plugins/ppapi/ppb_file_system_impl.cc | |
parent | c85b0ba71b5a55647b01de9d345e46896979033d (diff) | |
download | chromium_src-64264efa8b4a0bf37b19042f295f9990a7f388c9.zip chromium_src-64264efa8b4a0bf37b19042f295f9990a7f388c9.tar.gz chromium_src-64264efa8b4a0bf37b19042f295f9990a7f388c9.tar.bz2 |
Properly cancel PPAPI callbacks.
This sets up infrastructure to properly cancel PPAPI callbacks (which have particular semantics), and converts a couple things to use them.
BUG=
TEST=test_shell_tests and PPAPI tests
Review URL: http://codereview.chromium.org/5562008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_file_system_impl.cc')
-rw-r--r-- | webkit/plugins/ppapi/ppb_file_system_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/ppb_file_system_impl.cc b/webkit/plugins/ppapi/ppb_file_system_impl.cc index fea8327..cec5cec 100644 --- a/webkit/plugins/ppapi/ppb_file_system_impl.cc +++ b/webkit/plugins/ppapi/ppb_file_system_impl.cc @@ -59,7 +59,7 @@ int32_t Open(PP_Resource file_system_id, if (!instance->delegate()->OpenFileSystem( instance->container()->element().document().frame()->url(), file_system_type, expected_size, - new FileCallbacks(instance->module()->AsWeakPtr(), + new FileCallbacks(instance->module()->AsWeakPtr(), file_system_id, callback, NULL, file_system, NULL))) return PP_ERROR_FAILED; |