Index: ppapi/proxy/file_io_resource.h |
diff --git a/ppapi/proxy/file_io_resource.h b/ppapi/proxy/file_io_resource.h |
index 23df0e6d575977c6dc64cfa426f49654526787b3..84ff04044fd8629c6cc366dddd74286a82d0c0e5 100644 |
--- a/ppapi/proxy/file_io_resource.h |
+++ b/ppapi/proxy/file_io_resource.h |
@@ -65,7 +65,6 @@ class PPAPI_PROXY_EXPORT FileIOResource |
PP_FileHandle* handle, |
scoped_refptr<TrackedCallback> callback) OVERRIDE; |
- private: |
// FileHandleHolder is used to guarantee that file operations will have a |
// valid FD to operate on, even if they're in a different thread. |
// If instead we just passed the raw FD, the FD could be closed before the |
@@ -98,7 +97,11 @@ class PPAPI_PROXY_EXPORT FileIOResource |
~FileHandleHolder(); |
PP_FileHandle raw_handle_; |
}; |
+ scoped_refptr<FileHandleHolder> file_handle() { |
+ return file_handle_; |
+ } |
+ private: |
// Class to perform file query operations across multiple threads. |
class QueryOp : public base::RefCountedThreadSafe<QueryOp> { |
public: |