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

Unified Diff: chrome/browser/ui/views/chrome_views_delegate_linux.cc

Issue 2780033003: Fix refactoring regression in ChromeViewsDelegateLinux (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/chrome_views_delegate_linux.cc
diff --git a/chrome/browser/ui/views/chrome_views_delegate_linux.cc b/chrome/browser/ui/views/chrome_views_delegate_linux.cc
index 5c08b5b3d4a1e84e1c690f09dc75cb8e733fb31e..9c9534f99a5e9f5bec060cdd516a60a933450bde 100644
--- a/chrome/browser/ui/views/chrome_views_delegate_linux.cc
+++ b/chrome/browser/ui/views/chrome_views_delegate_linux.cc
@@ -14,7 +14,7 @@ views::NativeWidget* ChromeViewsDelegate::CreateNativeWidget(
views::internal::NativeWidgetDelegate* delegate) {
NativeWidgetType native_widget_type =
(params->parent && params->type != views::Widget::InitParams::TYPE_MENU &&
- params->type != views::Widget::InitParams::TYPE_MENU)
+ params->type != views::Widget::InitParams::TYPE_TOOLTIP)
? NativeWidgetType::NATIVE_WIDGET_AURA
: NativeWidgetType::DESKTOP_NATIVE_WIDGET_AURA;
return ::CreateNativeWidget(native_widget_type, params, delegate);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698