| Index: ios/web/public/test/earl_grey/web_view_matchers.mm
|
| diff --git a/ios/web/public/test/earl_grey/web_view_matchers.mm b/ios/web/public/test/earl_grey/web_view_matchers.mm
|
| index 39819628a102ad0368fd9c718292387f432d0af5..435e303647ae4b85b317b299494cecc4d327b76d 100644
|
| --- a/ios/web/public/test/earl_grey/web_view_matchers.mm
|
| +++ b/ios/web/public/test/earl_grey/web_view_matchers.mm
|
| @@ -156,12 +156,8 @@ id<GREYMatcher> webViewContainingBlockedImage(std::string image_id,
|
| if (!image)
|
| return grey_nil();
|
|
|
| - return webViewContainingBlockedImage(image_id, image.size, web_state);
|
| -}
|
| + CGSize expected_size = image.size;
|
|
|
| -id<GREYMatcher> webViewContainingBlockedImage(std::string image_id,
|
| - CGSize expected_size,
|
| - WebState* web_state) {
|
| MatchesBlock matches = ^BOOL(WKWebView*) {
|
| return WaitUntilConditionOrTimeout(testing::kWaitForUIElementTimeout, ^{
|
| NSString* const kGetElementAttributesScript = [NSString
|
|
|