summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/file_callbacks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/file_callbacks.cc')
-rw-r--r--webkit/plugins/ppapi/file_callbacks.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/plugins/ppapi/file_callbacks.cc b/webkit/plugins/ppapi/file_callbacks.cc
index e9e1aee..0ab4453 100644
--- a/webkit/plugins/ppapi/file_callbacks.cc
+++ b/webkit/plugins/ppapi/file_callbacks.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -25,11 +25,11 @@ namespace ppapi {
FileCallbacks::FileCallbacks(
Resource* resource,
- PP_CompletionCallback callback,
+ scoped_refptr<TrackedCallback> callback,
PP_FileInfo* info,
scoped_refptr<PPB_FileSystem_Impl> file_system,
scoped_refptr<PPB_DirectoryReader_Impl> directory_reader)
- : callback_(new TrackedCallback(resource, callback)),
+ : callback_(callback),
info_(info),
file_system_(file_system),
directory_reader_(directory_reader) {