diff options
Diffstat (limited to 'webkit/plugins/ppapi/ppb_file_io_impl.cc')
-rw-r--r-- | webkit/plugins/ppapi/ppb_file_io_impl.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/webkit/plugins/ppapi/ppb_file_io_impl.cc b/webkit/plugins/ppapi/ppb_file_io_impl.cc index 5ac35b2..63021fa 100644 --- a/webkit/plugins/ppapi/ppb_file_io_impl.cc +++ b/webkit/plugins/ppapi/ppb_file_io_impl.cc @@ -314,10 +314,8 @@ void PPB_FileIO_Impl::RegisterCallback(OperationType op, (pending_op_ != OPERATION_EXCLUSIVE && pending_op_ == op)); CallbackEntry entry; - PP_Resource resource_id = GetReferenceNoAddRef(); - CHECK(resource_id); entry.callback = new TrackedCompletionCallback( - instance()->module()->GetCallbackTracker(), resource_id, callback); + instance()->module()->GetCallbackTracker(), pp_resource(), callback); entry.read_buffer = read_buffer; callbacks_.push(entry); |