Index: ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm |
diff --git a/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm b/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm |
index 9c2bc7fbd432a92da3a0dc1523b891eb67b19e6c..a4596fbc41ccd8fe881bf53cb8bc24d0ad62a6c3 100644 |
--- a/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm |
+++ b/ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.mm |
@@ -5,6 +5,7 @@ |
#import "ios/clean/chrome/browser/ui/web_contents/web_contents_mediator.h" |
#include "base/memory/ptr_util.h" |
+#include "ios/chrome/browser/chrome_url_constants.h" |
#import "ios/clean/chrome/browser/ui/web_contents/web_contents_consumer.h" |
#import "ios/shared/chrome/browser/tabs/web_state_list.h" |
#import "ios/shared/chrome/browser/tabs/web_state_list_observer_bridge.h" |
@@ -102,8 +103,7 @@ |
// PLACEHOLDER: This navigates the page since the omnibox is not yet hooked up. |
- (void)navigateToDefaultPage:(web::WebState*)webState { |
if (!webState->GetNavigationManager()->GetItemCount()) { |
- web::NavigationManager::WebLoadParams params( |
- GURL("https://dev.chromium.org/")); |
+ web::NavigationManager::WebLoadParams params((GURL(kChromeUINewTabURL))); |
params.transition_type = ui::PAGE_TRANSITION_TYPED; |
webState->GetNavigationManager()->LoadURLWithParams(params); |
} |