diff options
Diffstat (limited to 'chrome/browser/views/options/content_page_view.cc')
-rw-r--r-- | chrome/browser/views/options/content_page_view.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/views/options/content_page_view.cc b/chrome/browser/views/options/content_page_view.cc index 6ed056f..8814986 100644 --- a/chrome/browser/views/options/content_page_view.cc +++ b/chrome/browser/views/options/content_page_view.cc @@ -249,11 +249,10 @@ void ContentPageView::ButtonPressed(ChromeViews::NativeButton* sender) { UserMetricsRecordAction(L"Options_ShowPasswordManager", NULL); PasswordManagerView::Show(profile()); } else if (sender == change_content_fonts_button_) { - FontsLanguagesWindowView* flwv = new FontsLanguagesWindowView(profile()); - ChromeViews::Window* w = - ChromeViews::Window::CreateChromeWindow(GetRootWindow(), gfx::Rect(), - flwv, flwv); - w->Show(); + ChromeViews::Window::CreateChromeWindow( + GetRootWindow(), + gfx::Rect(), + new FontsLanguagesWindowView(profile()))->Show(); } } |