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

Unified Diff: chrome/browser/external_tab_container.cc

Issue 115852: Restore parent semantings for external tab container creation, and error chec... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/external_tab_container.cc
===================================================================
--- chrome/browser/external_tab_container.cc (revision 17056)
+++ chrome/browser/external_tab_container.cc (working copy)
@@ -49,7 +49,11 @@
}
set_window_style(WS_POPUP);
- views::WidgetWin::Init(parent, bounds, true);
+ views::WidgetWin::Init(NULL, bounds, true);
+ if (!IsWindow()) {
+ NOTREACHED();
+ return false;
+ }
// We don't ever remove the prop because the lifetime of this object
// is the same as the lifetime of the window
« 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