summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_file_system_proxy.cc
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 23:10:15 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-04 23:10:15 +0000
commit1f6581c2d1f75b0b1ab061175541816ef335749a (patch)
treeceb821e70f9180830b93209aee5d604a982065eb /ppapi/proxy/ppb_file_system_proxy.cc
parentea162f97c7bfa7e76f7d0ed6994221b8a8e0bc6a (diff)
downloadchromium_src-1f6581c2d1f75b0b1ab061175541816ef335749a.zip
chromium_src-1f6581c2d1f75b0b1ab061175541816ef335749a.tar.gz
chromium_src-1f6581c2d1f75b0b1ab061175541816ef335749a.tar.bz2
Convert ppapi/* to use base::Bind.
BUG=35223 TEST=ppapi_unittests, ppapi ui_tests Review URL: http://codereview.chromium.org/8141004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104018 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_file_system_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_file_system_proxy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_file_system_proxy.cc b/ppapi/proxy/ppb_file_system_proxy.cc
index 8fc7b55..606f2e0 100644
--- a/ppapi/proxy/ppb_file_system_proxy.cc
+++ b/ppapi/proxy/ppb_file_system_proxy.cc
@@ -4,6 +4,7 @@
#include "ppapi/proxy/ppb_file_system_proxy.h"
+#include "base/bind.h"
#include "base/message_loop.h"
#include "base/task.h"
#include "ppapi/c/pp_errors.h"
@@ -76,7 +77,7 @@ FileSystem::~FileSystem() {
if (current_open_callback_.func) {
// TODO(brettw) the callbacks at this level should be refactored with a
// more automatic tracking system like we have in the renderer.
- MessageLoop::current()->PostTask(FROM_HERE, NewRunnableFunction(
+ MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
current_open_callback_.func, current_open_callback_.user_data,
static_cast<int32_t>(PP_ERROR_ABORTED)));
}