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

Unified Diff: chrome/browser/gtk/options/general_page_gtk.h

Issue 2102019: Invalid URLs are no longer mangled when reopening the Options window (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 7 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: chrome/browser/gtk/options/general_page_gtk.h
===================================================================
--- chrome/browser/gtk/options/general_page_gtk.h (revision 47986)
+++ chrome/browser/gtk/options/general_page_gtk.h (working copy)
@@ -67,9 +67,8 @@
void EnableDefaultSearchEngineComboBox(bool enable);
// Sets the home page preferences for kNewTabPageIsHomePage and kHomePage.
- // If a blank string is passed in we revert to using NewTab page as the Home
- // page. When setting the Home Page to NewTab page, we preserve the old value
- // of kHomePage (we don't overwrite it).
+ // If an invalid URL is passed in we revert to using NewTab page as the Home
+ // page.
void SetHomepage(const GURL& homepage);
// Sets the home page pref using the value in the entry box
« no previous file with comments | « chrome/browser/cocoa/preferences_window_controller.mm ('k') | chrome/browser/gtk/options/general_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698