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

Unified Diff: views/bubble/bubble_delegate.cc

Issue 8564021: touchui: Fix a crash on consecutive volume/brightness bubble display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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 | views/bubble/bubble_delegate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/bubble/bubble_delegate.cc
diff --git a/views/bubble/bubble_delegate.cc b/views/bubble/bubble_delegate.cc
index 9f997473d95c7a2efa90dfb7d8e5c4caf7a0d854..0e114915eb3e4debb4ac1af73229332f73d67be2 100644
--- a/views/bubble/bubble_delegate.cc
+++ b/views/bubble/bubble_delegate.cc
@@ -22,8 +22,6 @@ Widget* CreateBubbleWidget(BubbleDelegateView* bubble, Widget* parent) {
bubble_params.delegate = bubble;
bubble_params.transparent = true;
bubble_params.parent_widget = parent;
- if (!bubble_params.parent_widget)
- bubble_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
#if defined(OS_WIN) && !defined(USE_AURA)
bubble_params.type = Widget::InitParams::TYPE_WINDOW_FRAMELESS;
bubble_params.transparent = false;
« no previous file with comments | « no previous file | views/bubble/bubble_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698