| Index: net/filter/sdch_filter_unittest.cc
|
| diff --git a/net/filter/sdch_filter_unittest.cc b/net/filter/sdch_filter_unittest.cc
|
| index 4ba38d5d06f31dd90dc7937cd41486f89f1cbf76..09bda23a50bca70083bbbff3ea240e2fccd4b3cd 100644
|
| --- a/net/filter/sdch_filter_unittest.cc
|
| +++ b/net/filter/sdch_filter_unittest.cc
|
| @@ -12,6 +12,8 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/test/simple_test_clock.h"
|
| #include "net/base/io_buffer.h"
|
| +#include "net/base/sdch_dictionary.h"
|
| +#include "net/base/sdch_manager.h"
|
| #include "net/base/sdch_observer.h"
|
| #include "net/filter/mock_filter_context.h"
|
| #include "net/filter/sdch_filter.h"
|
| @@ -1211,9 +1213,8 @@ TEST_F(SdchFilterTest, UnexpectedDictionary) {
|
| ASSERT_TRUE(hash_set);
|
| ASSERT_EQ(SDCH_OK, problem_code);
|
|
|
| - const_cast<SdchManager::Dictionary*>(
|
| - hash_set->GetDictionary(server_hash))->SetClockForTesting(
|
| - clock.Pass());
|
| + const_cast<SdchDictionary*>(hash_set->GetDictionary(server_hash))
|
| + ->SetClockForTesting(clock.Pass());
|
|
|
| // Encode output with the second dictionary.
|
| std::string sdch_compressed(NewSdchCompressedData(expired_dictionary));
|
|
|