| Index: net/http/http_proxy_client_socket_pool_unittest.cc
|
| diff --git a/net/http/http_proxy_client_socket_pool_unittest.cc b/net/http/http_proxy_client_socket_pool_unittest.cc
|
| index 29c10d0679e3d81f5faa3206b66ae750bc959043..d084262581e849eb38b15944183b26754b7054bb 100644
|
| --- a/net/http/http_proxy_client_socket_pool_unittest.cc
|
| +++ b/net/http/http_proxy_client_socket_pool_unittest.cc
|
| @@ -93,12 +93,14 @@ class HttpProxyClientSocketPoolTest
|
| &transport_socket_pool_,
|
| &ssl_socket_pool_,
|
| NULL) {
|
| - SpdySession::SetPriorityDependencyDefaultForTesting(
|
| - GetParam().priority_to_dependency);
|
| + old_dependency_default_ =
|
| + Http2PriorityDependencies::SetEnabledDefaultForTesting(
|
| + GetParam().priority_to_dependency);
|
| }
|
|
|
| virtual ~HttpProxyClientSocketPoolTest() {
|
| - SpdySession::SetPriorityDependencyDefaultForTesting(false);
|
| + Http2PriorityDependencies::SetEnabledDefaultForTesting(
|
| + old_dependency_default_);
|
| }
|
|
|
| void AddAuthToCache() {
|
| @@ -221,6 +223,8 @@ class HttpProxyClientSocketPoolTest
|
|
|
| const scoped_ptr<HttpNetworkSession> session_;
|
|
|
| + bool old_dependency_default_;
|
| +
|
| protected:
|
| SpdyTestUtil spdy_util_;
|
| scoped_ptr<SSLSocketDataProvider> ssl_data_;
|
|
|