Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: ios/web/public/test/earl_grey/web_view_matchers.mm

Issue 2586203004: [ios] Removed deprecated webViewContainingBlockedImage. (Closed)
Patch Set: Removed unnecessary changes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/test/earl_grey/web_view_matchers.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ios/web/public/test/earl_grey/web_view_matchers.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698