Index: chrome/browser/extensions/extension_input_api.cc |
=================================================================== |
--- chrome/browser/extensions/extension_input_api.cc (revision 110826) |
+++ chrome/browser/extensions/extension_input_api.cc (working copy) |
@@ -74,13 +74,6 @@ |
} |
views::Widget* GetTopLevelWidget(Browser* browser) { |
- if (views::ViewsDelegate::views_delegate) { |
- views::View* view = views::ViewsDelegate::views_delegate-> |
- GetDefaultParentView(); |
- if (view) |
- return view->GetWidget(); |
- } |
- |
#if defined(OS_CHROMEOS) && defined(TOUCH_UI) |
chromeos::LoginDisplayHost* host = |
chromeos::BaseLoginDisplayHost::default_host(); |