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

Unified Diff: ios/chrome/test/earl_grey/chrome_earl_grey.mm

Issue 2965963002: [ios] Remove IDC_STOP and IDC_RELOAD
Patch Set: Rebased. Created 3 years, 5 months 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/chrome/browser/web/cache_egtest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/earl_grey/chrome_earl_grey.mm
diff --git a/ios/chrome/test/earl_grey/chrome_earl_grey.mm b/ios/chrome/test/earl_grey/chrome_earl_grey.mm
index 71b4eaf5c1e2de843d3df80cb44b81f65550398c..8361a9ec5c4552b7cfe660743dd43e660c60b03b 100644
--- a/ios/chrome/test/earl_grey/chrome_earl_grey.mm
+++ b/ios/chrome/test/earl_grey/chrome_earl_grey.mm
@@ -115,9 +115,7 @@ id ExecuteJavaScript(NSString* javascript,
}
+ (void)reload {
- base::scoped_nsobject<GenericChromeCommand> reloadCommand(
- [[GenericChromeCommand alloc] initWithTag:IDC_RELOAD]);
- chrome_test_util::RunCommandWithActiveViewController(reloadCommand);
+ [chrome_test_util::BrowserCommandDispatcherForMainBVC() reload];
[ChromeEarlGrey waitForPageToFinishLoading];
}
« no previous file with comments | « ios/chrome/browser/web/cache_egtest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698