| Index: ios/web/public/test/web_test.mm
|
| diff --git a/ios/web/public/test/web_test.mm b/ios/web/public/test/web_test.mm
|
| index e3525b9d81908ea5385c981e0665a06e9a29d1c3..9415845f9e0719c645df32fbd8db10c25e177d51 100644
|
| --- a/ios/web/public/test/web_test.mm
|
| +++ b/ios/web/public/test/web_test.mm
|
| @@ -28,6 +28,7 @@ WebTest::WebTest()
|
| WebTest::~WebTest() {}
|
|
|
| void WebTest::SetUp() {
|
| + root_pool_ = [[NSAutoreleasePool alloc] init];
|
| PlatformTest::SetUp();
|
| BrowserState::GetActiveStateManager(&browser_state_)->SetActive(true);
|
| }
|
| @@ -35,6 +36,8 @@ void WebTest::SetUp() {
|
| void WebTest::TearDown() {
|
| BrowserState::GetActiveStateManager(&browser_state_)->SetActive(false);
|
| PlatformTest::TearDown();
|
| + [root_pool_ release];
|
| + root_pool_ = nil;
|
| }
|
|
|
| TestWebClient* WebTest::GetWebClient() {
|
|
|