diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 21:21:43 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-26 21:21:43 +0000 |
commit | 058254a8c1f684aecce93ed3d6ba6ca8864611b1 (patch) | |
tree | c84d8cf66868226dca13c1da0f46cf444b1dedc4 /chrome/browser/gtk/extension_view_gtk.cc | |
parent | d4f6a0cf1d854737b63ae96b63800ada2d1c222d (diff) | |
download | chromium_src-058254a8c1f684aecce93ed3d6ba6ca8864611b1.zip chromium_src-058254a8c1f684aecce93ed3d6ba6ca8864611b1.tar.gz chromium_src-058254a8c1f684aecce93ed3d6ba6ca8864611b1.tar.bz2 |
Fix crash in Linux extension shelf.
We need to delay creating render view until we're fully constructed.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/173506
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24530 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/extension_view_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/extension_view_gtk.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/gtk/extension_view_gtk.cc b/chrome/browser/gtk/extension_view_gtk.cc index 60d1a3f..e2712cf 100644 --- a/chrome/browser/gtk/extension_view_gtk.cc +++ b/chrome/browser/gtk/extension_view_gtk.cc @@ -8,10 +8,15 @@ #include "chrome/browser/renderer_host/render_view_host.h" #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h" -ExtensionViewGtk::ExtensionViewGtk(ExtensionHost* extension_host) +ExtensionViewGtk::ExtensionViewGtk(ExtensionHost* extension_host, + Browser* browser) : is_toolstrip_(true), + browser_(browser), extension_host_(extension_host), render_widget_host_view_(NULL) { +} + +void ExtensionViewGtk::Init() { CreateWidgetHostView(); } |