From 24fd0b7823a8e47bf9f7df8290bb68a8f3adf79d Mon Sep 17 00:00:00 2001 From: "tc@google.com" Date: Wed, 26 Nov 2008 00:31:19 +0000 Subject: 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 --- net/url_request/url_request_file_job.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net/url_request') 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; -- cgit v1.1