Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: webrtc/base/win32filesystem.cc

Issue 2935933007: Delete class DirectoryIterator and FileRotatingStream read support. (Closed)
Patch Set: Drop an RTC_NOTREACHED. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/base/win32filesystem.cc
diff --git a/webrtc/base/win32filesystem.cc b/webrtc/base/win32filesystem.cc
index 5445140ef2b1d8655440b20614b7c93c3bd248a8..109c2ce819c69a859af4c166e1db59b42ac3ef67 100644
--- a/webrtc/base/win32filesystem.cc
+++ b/webrtc/base/win32filesystem.cc
@@ -66,7 +66,6 @@ bool Win32Filesystem::CreateFolder(const Pathname &pathname) {
bool Win32Filesystem::DeleteFile(const Pathname &filename) {
LOG(LS_INFO) << "Deleting file " << filename.pathname();
if (!IsFile(filename)) {
- RTC_DCHECK(IsFile(filename));
return false;
}
return ::DeleteFile(ToUtf16(filename.pathname()).c_str()) != 0;
« no previous file with comments | « webrtc/base/unixfilesystem.cc ('k') | webrtc/sdk/android/api/org/webrtc/CallSessionFileRotatingLogSink.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698