Index: ppapi/native_client/src/trusted/plugin/temporary_file.h |
diff --git a/ppapi/native_client/src/trusted/plugin/temporary_file.h b/ppapi/native_client/src/trusted/plugin/temporary_file.h |
index 4bc8f7140e389054d1d6e7d84408c0a5e342acbb..a58879bb578b11f5f3cc2cd764a3f66485eb8a42 100644 |
--- a/ppapi/native_client/src/trusted/plugin/temporary_file.h |
+++ b/ppapi/native_client/src/trusted/plugin/temporary_file.h |
@@ -36,7 +36,7 @@ class Plugin; |
class TempFile { |
public: |
// Create a TempFile. |
- explicit TempFile(Plugin* plugin); |
+ TempFile(Plugin* plugin, PP_FileHandle handle); |
~TempFile(); |
// Opens a temporary file object and descriptor wrapper referring to the file. |
@@ -55,9 +55,6 @@ class TempFile { |
// and all wrappers. |
PP_FileHandle TakeFileHandle(); |
- // Used by GetNexeFd() to set the underlying internal handle. |
- PP_FileHandle* internal_handle() { return &internal_handle_; } |
- |
private: |
NACL_DISALLOW_COPY_AND_ASSIGN(TempFile); |