summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/languages_page_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/options/languages_page_view.cc')
-rw-r--r--chrome/browser/views/options/languages_page_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/options/languages_page_view.cc b/chrome/browser/views/options/languages_page_view.cc
index 25fc147..40d4444 100644
--- a/chrome/browser/views/options/languages_page_view.cc
+++ b/chrome/browser/views/options/languages_page_view.cc
@@ -507,7 +507,7 @@ void LanguagesPageView::ButtonPressed(views::NativeButton* sender) {
language_table_edited_ = true;
} else if (sender == add_button_) {
views::Window::CreateChromeWindow(
- GetWidget()->GetHWND(),
+ GetWidget()->GetNativeView(),
gfx::Rect(),
new AddLanguageWindowView(this, profile()))->Show();
language_table_edited_ = true;