Chromium Code Reviews| Index: ppapi/proxy/file_io_resource.cc |
| diff --git a/ppapi/proxy/file_io_resource.cc b/ppapi/proxy/file_io_resource.cc |
| index 7d98356994abc5765634ee5b997d5f10fbdd402d..fb85144630fef3c83ee884a06a5a84046aaf82fc 100644 |
| --- a/ppapi/proxy/file_io_resource.cc |
| +++ b/ppapi/proxy/file_io_resource.cc |
| @@ -16,7 +16,6 @@ |
| using ppapi::thunk::EnterResourceNoLock; |
| using ppapi::thunk::PPB_FileIO_API; |
| -using ppapi::thunk::PPB_FileRef_API; |
|
dmichael (off chromium)
2013/08/07 22:19:13
Why did you need to do this? Seems like it would b
teravest
2013/08/08 00:50:06
Done.
|
| namespace { |
| @@ -45,7 +44,7 @@ PPB_FileIO_API* FileIOResource::AsPPB_FileIO_API() { |
| int32_t FileIOResource::Open(PP_Resource file_ref, |
| int32_t open_flags, |
| scoped_refptr<TrackedCallback> callback) { |
| - EnterResourceNoLock<PPB_FileRef_API> enter(file_ref, true); |
| + EnterResourceNoLock<thunk::PPB_FileRef_API> enter(file_ref, true); |
| if (enter.failed()) |
| return PP_ERROR_BADRESOURCE; |
| @@ -56,7 +55,7 @@ int32_t FileIOResource::Open(PP_Resource file_ref, |
| Call<PpapiPluginMsg_FileIO_OpenReply>(RENDERER, |
| PpapiHostMsg_FileIO_Open( |
| - enter.resource()->host_resource().host_resource(), |
| + file_ref, |
| open_flags), |
| base::Bind(&FileIOResource::OnPluginMsgOpenFileComplete, this, |
| callback)); |