diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 02:48:05 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-01 02:48:05 +0000 |
commit | 5d2b449b4f0b3d13c75e540c834c550ed38c0912 (patch) | |
tree | 6224e6d93676677f19fb03e7d80b46ea15dcf3b5 /base/platform_file_posix.cc | |
parent | c4e678d0902b04606ff2a21714e33643d01a74ed (diff) | |
download | chromium_src-5d2b449b4f0b3d13c75e540c834c550ed38c0912.zip chromium_src-5d2b449b4f0b3d13c75e540c834c550ed38c0912.tar.gz chromium_src-5d2b449b4f0b3d13c75e540c834c550ed38c0912.tar.bz2 |
More DCHECK() updates. A mixture of _EQ and _GE.
Bug=58409
Review URL: http://codereview.chromium.org/6469070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/platform_file_posix.cc')
-rw-r--r-- | base/platform_file_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/platform_file_posix.cc b/base/platform_file_posix.cc index 38989c6..00249aa 100644 --- a/base/platform_file_posix.cc +++ b/base/platform_file_posix.cc @@ -65,7 +65,7 @@ PlatformFile CreatePlatformFile(const FilePath& name, int flags, open_flags |= O_TRUNC; } - DCHECK(O_RDONLY == 0); + COMPILE_ASSERT(O_RDONLY == 0, O_RDONLY_must_equal_zero); int descriptor = open(name.value().c_str(), open_flags, S_IRUSR | S_IWUSR); |