summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_http_job.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 04:14:27 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-17 04:14:27 +0000
commit2aecf73871ce89098c0f2f6dd61d6adfe1f059ee (patch)
treea2a82f7292a7928c64f38601ca64a92b3d6337f9 /net/url_request/url_request_http_job.cc
parenta87e9acee988e8136b3ff74a8d5dda7047565308 (diff)
downloadchromium_src-2aecf73871ce89098c0f2f6dd61d6adfe1f059ee.zip
chromium_src-2aecf73871ce89098c0f2f6dd61d6adfe1f059ee.tar.gz
chromium_src-2aecf73871ce89098c0f2f6dd61d6adfe1f059ee.tar.bz2
Reorder members in URLRequestHttpJob to get correct destruction order.
BUG=http://crbug.com/14231 Review URL: http://codereview.chromium.org/126257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18586 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_http_job.cc')
-rw-r--r--net/url_request/url_request_http_job.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index da56c8b..1c8053d 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -61,7 +61,7 @@ URLRequestJob* URLRequestHttpJob::Factory(URLRequest* request,
URLRequestHttpJob::URLRequestHttpJob(URLRequest* request)
: URLRequestJob(request),
- transaction_(NULL),
+ context_(request->context()),
response_info_(NULL),
proxy_auth_state_(net::AUTH_STATE_DONT_NEED_AUTH),
server_auth_state_(net::AUTH_STATE_DONT_NEED_AUTH),
@@ -70,7 +70,7 @@ URLRequestHttpJob::URLRequestHttpJob(URLRequest* request)
ALLOW_THIS_IN_INITIALIZER_LIST(
read_callback_(this, &URLRequestHttpJob::OnReadCompleted)),
read_in_progress_(false),
- context_(request->context()),
+ transaction_(NULL),
sdch_dictionary_advertised_(false),
sdch_test_activated_(false),
sdch_test_control_(false),