diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-10 00:31:31 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-10 00:31:31 +0000 |
commit | 5be6d4fb77e398acc061239c66d89467235d6459 (patch) | |
tree | 46edf127a4d2a1417a2af3de1e907ab05336739a /webkit/gpu | |
parent | 2776363abfdfd7f08a626b151e06776569c41ccb (diff) | |
download | chromium_src-5be6d4fb77e398acc061239c66d89467235d6459.zip chromium_src-5be6d4fb77e398acc061239c66d89467235d6459.tar.gz chromium_src-5be6d4fb77e398acc061239c66d89467235d6459.tar.bz2 |
Merge 121274 - Return net::ERR_FAILED when BufferedResourceLoader::didFail() is called.
The documentation of BufferedResourceLoader's start/read callbacks states that it'll return only a tiny subset of the many error codes listed under net/base/net_error_list.h
It's possible to receive an error code of 0 for didFail() that maps neatly to net::OK. The end result is we trick callees into thinking the operation succeeded when, in fact, it did not.
This is a short term fix for bug 112833 until we can replace our use of net::CompletionCallback (see bug 110120).
BUG=112833
Review URL: https://chromiumcodereview.appspot.com/9375005
TBR=scherkus@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9372041
git-svn-id: svn://svn.chromium.org/chrome/branches/1025/src@121356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu')
0 files changed, 0 insertions, 0 deletions