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

Unified Diff: ios/chrome/browser/web/cache_egtest.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
Index: ios/chrome/browser/web/cache_egtest.mm
diff --git a/ios/chrome/browser/web/cache_egtest.mm b/ios/chrome/browser/web/cache_egtest.mm
index 8926dc17f8e101e9f049efde8c6b2d7e67ec3684..0766cb0ee1c5f8f533ba0f3a0458b5f730303718 100644
--- a/ios/chrome/browser/web/cache_egtest.mm
+++ b/ios/chrome/browser/web/cache_egtest.mm
@@ -160,9 +160,7 @@ class ScopedBlockPopupsPref {
// Reloads the web view and waits for the loading to complete.
// TODO(crbug.com/638674): Evaluate if this can move to shared code
- (void)reloadPage {
- 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/ui/tools_menu/tools_popup_controller.mm ('k') | ios/chrome/test/earl_grey/chrome_earl_grey.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698