| Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| index 4a7ada3dedaa62b37c4bcc9fa555c01e66fca406..a083f8cd5c61ed39fb4026cefc0d60f43599ee8b 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| @@ -983,10 +983,11 @@ void StartupBrowserCreatorImpl::AddStartupURLs(
|
| // behavior is desired because completing or skipping the sync promo
|
| // causes a redirect to the NTP.
|
| if (!startup_urls->empty() &&
|
| - startup_urls->at(0) == GURL(chrome::kChromeUINewTabURL))
|
| + startup_urls->at(0) == chrome::kChromeUINewTabURL) {
|
| startup_urls->at(0) = sync_promo_url;
|
| - else
|
| + } else {
|
| startup_urls->insert(startup_urls->begin(), sync_promo_url);
|
| + }
|
| }
|
| }
|
| }
|
|
|