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

Unified Diff: chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc

Issue 2924943002: MD Settings/On Startup: ignore current tab when using current pages (Closed)
Patch Set: ignore_contents Created 3 years, 6 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
« no previous file with comments | « chrome/browser/ui/webui/options/startup_pages_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc
diff --git a/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc b/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc
index 5c9142f2fbbb629df8336640659c7edfc42ac383..4b128752b027be10afe1e5eee7690c2fbc78c69a 100644
--- a/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc
+++ b/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc
@@ -174,7 +174,8 @@ void StartupPagesHandler::HandleRemoveStartupPage(const base::ListValue* args) {
void StartupPagesHandler::HandleSetStartupPagesToCurrentPages(
const base::ListValue* args) {
- startup_custom_pages_table_model_.SetToCurrentlyOpenPages();
+ startup_custom_pages_table_model_.SetToCurrentlyOpenPages(
+ web_ui()->GetWebContents());
SaveStartupPagesPref();
}
« no previous file with comments | « chrome/browser/ui/webui/options/startup_pages_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698