Descriptiongdata: Remove a DCHECK that does not make sense.
This was introduced in crrev.com/134770
- DCHECK(entry || error != base::PLATFORM_FILE_OK);
+ DCHECK(error != base::PLATFORM_FILE_OK);
The latter does not make sense, as we are mostly expecting
error to be base::PLATFORM_FILE_OK. Besides, the read directory
operation can fail for various reasons.
BUG=chromium-os:30251
TEST=the DCHECK failure is gone with --enable-dcheck
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134784
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|