diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-26 00:31:19 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-26 00:31:19 +0000 |
commit | 24fd0b7823a8e47bf9f7df8290bb68a8f3adf79d (patch) | |
tree | 119e877c7e123a64247d15a7c0ce2f9103cb3094 /net/url_request | |
parent | 802cbf0fc2d88085b7ef5c5fa01d32b261287d6f (diff) | |
download | chromium_src-24fd0b7823a8e47bf9f7df8290bb68a8f3adf79d.zip chromium_src-24fd0b7823a8e47bf9f7df8290bb68a8f3adf79d.tar.gz chromium_src-24fd0b7823a8e47bf9f7df8290bb68a8f3adf79d.tar.bz2 |
fix build
incorporate estade's patch
Review URL: http://codereview.chromium.org/12665
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6019 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r-- | net/url_request/url_request_file_job.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc index d0841e5..9d42e18 100644 --- a/net/url_request/url_request_file_job.cc +++ b/net/url_request/url_request_file_job.cc @@ -164,12 +164,11 @@ void URLRequestFileJob::DidResolve( if (!request_) return; - DCHECK(!file_info.is_directory); - int rv = net::OK; if (!exists) { rv = net::ERR_FILE_NOT_FOUND; } else { + DCHECK(!file_info.is_directory); int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ | base::PLATFORM_FILE_ASYNC; |