Commit 651ac397 authored by jianli@chromium.org's avatar jianli@chromium.org

Fix bug 84783: BlobURLRequestJobTest uses URLRequest::job()

BUG=84783
TEST=existing tests since no new feature
Review URL: http://codereview.chromium.org/7003070

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88446 0039d316-1c4b-4281-b951-d872f2087c98
parent 95fac46c
...@@ -69,9 +69,7 @@ class BlobURLRequestJobTest : public testing::Test { ...@@ -69,9 +69,7 @@ class BlobURLRequestJobTest : public testing::Test {
private: private:
void ReadSome(net::URLRequest* request) { void ReadSome(net::URLRequest* request) {
// job() is not part of the URLRequest public API so it should not be if (!request->is_pending()) {
// used here. Bug 84783.
if (request->job()->is_done()) {
RequestComplete(); RequestComplete();
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment