Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: net/http/http_network_layer.cc

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Chrome Frame fix Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_network_layer.cc
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
index b326438d2950b2c2a8f0887cf3ce4b5682a2a720..6223b9b906ce92cea869a03de7510aae86a67482 100644
--- a/net/http/http_network_layer.cc
+++ b/net/http/http_network_layer.cc
@@ -107,7 +107,9 @@ int HttpNetworkLayer::CreateTransaction(scoped_ptr<HttpTransaction>* trans,
if (suspended_)
return ERR_NETWORK_IO_SUSPENDED;
- trans->reset(new HttpNetworkTransaction(GetSession()));
+ HttpNetworkTransaction* new_trans = new HttpNetworkTransaction(GetSession());
+ new_trans->set_delegate(delegate);
+ trans->reset(new_trans);
return OK;
}

Powered by Google App Engine
This is Rietveld 408576698