| Index: ios/web_view/test/chrome_web_view_test.mm
|
| diff --git a/ios/web_view/test/chrome_web_view_test.mm b/ios/web_view/test/chrome_web_view_test.mm
|
| index 2a8b6cb420027a88027d59a857a4e69c3040a6a4..f51ad19a7eca8e13493f25cd29371a3a8ce94de3 100644
|
| --- a/ios/web_view/test/chrome_web_view_test.mm
|
| +++ b/ios/web_view/test/chrome_web_view_test.mm
|
| @@ -133,18 +133,4 @@ GURL ChromeWebViewTest::GetUrlForPageWithTitleAndBody(const std::string& title,
|
| return url;
|
| }
|
|
|
| -void ChromeWebViewTest::LoadUrl(CWVWebView* web_view, NSURL* url) {
|
| - [web_view loadRequest:[NSURLRequest requestWithURL:url]];
|
| -
|
| - WaitForPageLoadCompletion(web_view);
|
| -}
|
| -
|
| -void ChromeWebViewTest::WaitForPageLoadCompletion(CWVWebView* web_view) {
|
| - BOOL success =
|
| - testing::WaitUntilConditionOrTimeout(testing::kWaitForPageLoadTimeout, ^{
|
| - return !web_view.isLoading;
|
| - });
|
| - ASSERT_TRUE(success);
|
| -}
|
| -
|
| } // namespace ios_web_view
|
|
|