Index: webrtc/base/unixfilesystem.cc |
diff --git a/webrtc/base/unixfilesystem.cc b/webrtc/base/unixfilesystem.cc |
index f15b44f4dc99cbe346bebb5dbb77d1161e84ed89..bfecf1a6a0b79bcc8fcbaed6d316fff9a091d3a1 100644 |
--- a/webrtc/base/unixfilesystem.cc |
+++ b/webrtc/base/unixfilesystem.cc |
@@ -123,16 +123,6 @@ bool UnixFilesystem::CreateFolder(const Pathname &path) { |
return CreateFolder(path, 0755); |
} |
-FileStream *UnixFilesystem::OpenFile(const Pathname &filename, |
- const std::string &mode) { |
- FileStream *fs = new FileStream(); |
- if (fs && !fs->Open(filename.pathname().c_str(), mode.c_str(), nullptr)) { |
- delete fs; |
- fs = nullptr; |
- } |
- return fs; |
-} |
- |
bool UnixFilesystem::DeleteFile(const Pathname &filename) { |
LOG(LS_INFO) << "Deleting file:" << filename.pathname(); |