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

Unified Diff: base/files/dir_reader_fallback.h

Issue 1526253003: Linux: Correctly count the number of open file descriptors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years 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
« no previous file with comments | « no previous file | base/files/dir_reader_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/dir_reader_fallback.h
diff --git a/base/files/dir_reader_fallback.h b/base/files/dir_reader_fallback.h
index a435f25963d29cc8e92a34ba1419dee4db28b27a..d44c2279e4983c2bf02f4b4b99e379d6b54f3bac 100644
--- a/base/files/dir_reader_fallback.h
+++ b/base/files/dir_reader_fallback.h
@@ -21,7 +21,7 @@ class DirReaderFallback {
bool Next() { return false; }
// Return the name of the current directory entry.
- const char* name() { return 0;}
+ const char* name() { return nullptr;}
// Return the file descriptor which is being used.
int fd() const { return -1; }
« no previous file with comments | « no previous file | base/files/dir_reader_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698