| Index: net/spdy/spdy_stream_unittest.cc
|
| diff --git a/net/spdy/spdy_stream_unittest.cc b/net/spdy/spdy_stream_unittest.cc
|
| index eea33523734aeb8cc9f56768b975645ecb966474..05498d2254d2c50b0a18b914119001d601920fc6 100644
|
| --- a/net/spdy/spdy_stream_unittest.cc
|
| +++ b/net/spdy/spdy_stream_unittest.cc
|
| @@ -71,12 +71,14 @@ class SpdyStreamTest : public ::testing::Test,
|
| session_deps_(GetProtocol()),
|
| session_(SpdySessionDependencies::SpdyCreateSession(&session_deps_)),
|
| offset_(0) {
|
| - SpdySession::SetPriorityDependencyDefaultForTesting(
|
| - GetDependenciesFromPriority());
|
| + old_dependency_default_ =
|
| + Http2PriorityDependencies::SetEnabledDefaultForTesting(
|
| + GetDependenciesFromPriority());
|
| }
|
|
|
| ~SpdyStreamTest() {
|
| - SpdySession::SetPriorityDependencyDefaultForTesting(false);
|
| + Http2PriorityDependencies::SetEnabledDefaultForTesting(
|
| + old_dependency_default_);
|
| }
|
|
|
| base::WeakPtr<SpdySession> CreateDefaultSpdySession() {
|
| @@ -145,6 +147,7 @@ class SpdyStreamTest : public ::testing::Test,
|
| std::vector<MockWrite> writes_;
|
| std::vector<MockRead> reads_;
|
| int offset_;
|
| + bool old_dependency_default_;
|
| };
|
|
|
| INSTANTIATE_TEST_CASE_P(ProtoPlusDepend,
|
|
|