| Index: ios/web/webui/web_ui_mojo_inttest.mm
|
| diff --git a/ios/web/webui/web_ui_mojo_inttest.mm b/ios/web/webui/web_ui_mojo_inttest.mm
|
| index 97916af543d08a09094c16c7d477a5742fa9ed32..9725fb511a122dc13f4d51dd9e5f22cb3d44b195 100644
|
| --- a/ios/web/webui/web_ui_mojo_inttest.mm
|
| +++ b/ios/web/webui/web_ui_mojo_inttest.mm
|
| @@ -146,6 +146,10 @@ class WebUIMojoTest : public WebIntTest {
|
| new TestWebUIControllerFactory(ui_handler_.get()));
|
| }
|
|
|
| + void TearDown() override {
|
| + web_state_.reset();
|
| + WebIntTest::TearDown();
|
| + }
|
| // Returns WebState which loads test WebUI page.
|
| WebStateImpl* web_state() { return web_state_.get(); }
|
| // Returns UI handler which communicates with WebUI page.
|
|
|