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 |