diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 02:22:32 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-11 02:22:32 +0000 |
commit | 593c43b0d36dc37a260c3204857a642da7e6e523 (patch) | |
tree | 0c32e7bf6c37b97bcd378e12d7a5236d6bb34dbf /chrome_frame | |
parent | 8e0ca2f7123971295b63142d826705dc228c2b8b (diff) | |
download | chromium_src-593c43b0d36dc37a260c3204857a642da7e6e523.zip chromium_src-593c43b0d36dc37a260c3204857a642da7e6e523.tar.gz chromium_src-593c43b0d36dc37a260c3204857a642da7e6e523.tar.bz2 |
Revert 38692 to see if this fixes ChromeFrame net tests.
Review URL: http://codereview.chromium.org/600032
TBR=stoyan@chromium.org
Review URL: http://codereview.chromium.org/602026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/urlmon_url_request.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome_frame/urlmon_url_request.cc b/chrome_frame/urlmon_url_request.cc index 393b193..c03b3f0 100644 --- a/chrome_frame/urlmon_url_request.cc +++ b/chrome_frame/urlmon_url_request.cc @@ -226,15 +226,6 @@ STDMETHODIMP UrlmonUrlRequest::OnStopBinding(HRESULT result, LPCWSTR error) { return S_OK; } - // We have no data, and no pending read request from Chrome. - // Wait until Chrome issue a read request and then send error/success code. - // The network policy in Chrome network is that error/end_of_stream should - // be returned only as a result of read (or start) request. - if (pending_read_size_ == 0) { - ReleaseBindings(); - return S_OK; - } - NotifyDelegateAndDie(); return S_OK; } |