| Index: net/spdy/spdy_http_stream_unittest.cc
|
| diff --git a/net/spdy/spdy_http_stream_unittest.cc b/net/spdy/spdy_http_stream_unittest.cc
|
| index 69ef3707249b010c83f3c1821ccb53014835177d..77c261803aec87df5913d09bc8587053cf5360ca 100644
|
| --- a/net/spdy/spdy_http_stream_unittest.cc
|
| +++ b/net/spdy/spdy_http_stream_unittest.cc
|
| @@ -82,13 +82,15 @@ class SpdyHttpStreamTest : public testing::Test,
|
| SpdyHttpStreamTest()
|
| : spdy_util_(GetProtocol(), GetDependenciesFromPriority()),
|
| session_deps_(GetProtocol()) {
|
| - SpdySession::SetPriorityDependencyDefaultForTesting(
|
| - GetDependenciesFromPriority());
|
| + old_dependency_default_ =
|
| + Http2PriorityDependencies::SetEnabledDefaultForTesting(
|
| + GetDependenciesFromPriority());
|
| session_deps_.net_log = &net_log_;
|
| }
|
|
|
| ~SpdyHttpStreamTest() {
|
| - SpdySession::SetPriorityDependencyDefaultForTesting(false);
|
| + Http2PriorityDependencies::SetEnabledDefaultForTesting(
|
| + old_dependency_default_);
|
| }
|
|
|
| protected:
|
| @@ -135,6 +137,7 @@ class SpdyHttpStreamTest : public testing::Test,
|
|
|
| private:
|
| MockECSignatureCreatorFactory ec_signature_creator_factory_;
|
| + bool old_dependency_default_;
|
| };
|
|
|
| INSTANTIATE_TEST_CASE_P(ProtoPlusDepend,
|
|
|