Index: chrome/browser/policy/device_management_service.cc |
diff --git a/chrome/browser/policy/device_management_service.cc b/chrome/browser/policy/device_management_service.cc |
index e29d21aa4380135b8b8e62610b91961eb6b3e516..a2f6bc7db7b1c0f1ab5dd344f27c55e52999f8be 100644 |
--- a/chrome/browser/policy/device_management_service.cc |
+++ b/chrome/browser/policy/device_management_service.cc |
@@ -48,8 +48,9 @@ DeviceManagementRequestContext::DeviceManagementRequestContext( |
ssl_config_service_ = base_context->ssl_config_service(); |
// Share the http session. |
- http_transaction_factory_ = net::HttpNetworkLayer::CreateFactory( |
- base_context->http_transaction_factory()->GetSession()); |
+ http_transaction_factory_ = |
+ new net::HttpNetworkLayer( |
+ base_context->http_transaction_factory()->GetSession()); |
// No cookies, please. |
cookie_store_ = new net::CookieMonster(NULL, NULL); |