diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 00:21:11 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-07 00:21:11 +0000 |
commit | 7e9a2ee280afd3705bff31b09bf38b4149a21045 (patch) | |
tree | 9d621d1184a5ef18f9b4e6c8fca6a10e609d0574 /chrome/browser/chromeos/options/network_config_view.cc | |
parent | fbdd21f9a8c25720eb22d43a8c56044e5c448ed4 (diff) | |
download | chromium_src-7e9a2ee280afd3705bff31b09bf38b4149a21045.zip chromium_src-7e9a2ee280afd3705bff31b09bf38b4149a21045.tar.gz chromium_src-7e9a2ee280afd3705bff31b09bf38b4149a21045.tar.bz2 |
Sync Promo: Open NTP if sync promo is disabled
If navigation to the sync promo page was disabled while a navigation was pending it could cause a CHECK() in TabContents::NavigateToEntry to fail.
The problem was that GetWebUIFactoryFunction() would return NULL if the promo was disabled. To prevent this kind of problem I'm simply returning the NTP WebUI instead.
BUG=99359
TEST=
Review URL: http://codereview.chromium.org/8176015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/options/network_config_view.cc')
0 files changed, 0 insertions, 0 deletions