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..abd460489baf890854d272aba460814342a1c328 100644 |
--- a/ios/web_view/test/chrome_web_view_test.mm |
+++ b/ios/web_view/test/chrome_web_view_test.mm |
@@ -10,7 +10,6 @@ |
#include "base/base64.h" |
#import "base/memory/ptr_util.h" |
#include "base/strings/stringprintf.h" |
-#import "ios/testing/wait_util.h" |
#import "ios/web_view/test/web_view_test_util.h" |
#include "net/base/url_util.h" |
#include "net/test/embedded_test_server/embedded_test_server.h" |
@@ -133,18 +132,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 |