| 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 d709279c517a370eaca5ade16f4265ec98bc9e6d..d52af29c13db3ac558b1dd10f48048fb8167537f 100644
|
| --- a/ios/web/webui/web_ui_mojo_inttest.mm
|
| +++ b/ios/web/webui/web_ui_mojo_inttest.mm
|
| @@ -155,7 +155,6 @@ class WebUIMojoTest : public WebIntTest {
|
| // |TestUIHandler| sucessfully receives "ack" message from WebUI page.
|
| TEST_F(WebUIMojoTest, MessageExchange) {
|
| web_state()->SetWebUsageEnabled(true);
|
| - web_state()->GetView(); // WebState won't load URL without view.
|
| NavigationManager::WebLoadParams load_params(GURL(
|
| url::SchemeHostPort(kTestWebUIScheme, kTestWebUIURLHost, 0).Serialize()));
|
| web_state()->GetNavigationManager()->LoadURLWithParams(load_params);
|
|
|