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

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: . Created 6 years, 10 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698