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

Unified Diff: chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc

Issue 178863002: Implement settings in a widnow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 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/ash/system_tray_delegate_chromeos.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
diff --git a/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc b/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
index e408068bf1b6fca08fa11c0fd5526f475a777ed3..8933a21a9a22f49ff03e627289110d01b2378ad2 100644
--- a/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
+++ b/chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc
@@ -62,11 +62,7 @@ void NewCreditCardBubbleController::OnBubbleDestroyed() {
}
void NewCreditCardBubbleController::OnLinkClicked() {
- Browser* browser = chrome::FindTabbedBrowser(profile_, false,
- chrome::GetActiveDesktop());
- if (browser)
- chrome::ShowSettingsSubPage(browser, chrome::kAutofillSubPage);
-
+ chrome::ShowSettingsSubPageForProfile(profile_, chrome::kAutofillSubPage);
Hide();
}
« no previous file with comments | « chrome/browser/ui/ash/system_tray_delegate_chromeos.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698