| Index: ios/web/shell/test/pdf_egtest.mm
|
| diff --git a/ios/web/shell/test/pdf_egtest.mm b/ios/web/shell/test/pdf_egtest.mm
|
| index c240bf3501783ac463674e1df46436c7e481976a..565618a33228e8195ce1942421e83b63b120b38f 100644
|
| --- a/ios/web/shell/test/pdf_egtest.mm
|
| +++ b/ios/web/shell/test/pdf_egtest.mm
|
| @@ -23,7 +23,7 @@ const char kTestPDFURL[] =
|
| "http://ios/web/shell/test/http_server_files/testpage.pdf";
|
|
|
| // Matcher for WKWebView displaying PDF.
|
| -id<GREYMatcher> webViewWithPdf() {
|
| +id<GREYMatcher> WebViewWithPdf() {
|
| web::WebState* web_state = web::shell_test_util::GetCurrentWebState();
|
| MatchesBlock matches = ^BOOL(UIView* view) {
|
| return testing::WaitUntilConditionOrTimeout(
|
| @@ -37,7 +37,7 @@ id<GREYMatcher> webViewWithPdf() {
|
| };
|
|
|
| return grey_allOf(
|
| - webViewInWebState(web_state),
|
| + WebViewInWebState(web_state),
|
| [[GREYElementMatcherBlock alloc] initWithMatchesBlock:matches
|
| descriptionBlock:describe],
|
| nil);
|
| @@ -57,7 +57,7 @@ using web::test::HttpServer;
|
| - (void)testMIMEType {
|
| web::test::SetUpFileBasedHttpServer();
|
| [ShellEarlGrey loadURL:HttpServer::MakeUrl(kTestPDFURL)];
|
| - [[EarlGrey selectElementWithMatcher:webViewWithPdf()]
|
| + [[EarlGrey selectElementWithMatcher:WebViewWithPdf()]
|
| assertWithMatcher:grey_notNil()];
|
| }
|
|
|
|
|