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

Unified Diff: chrome/browser/gtk/extension_view_gtk.cc

Issue 173506: Fix crash in Linux extension shelf. (Closed)
Patch Set: Created 11 years, 4 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 | « chrome/browser/gtk/extension_view_gtk.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/extension_view_gtk.cc
diff --git a/chrome/browser/gtk/extension_view_gtk.cc b/chrome/browser/gtk/extension_view_gtk.cc
index 60d1a3f72761a28c9d88d5b23ef325a122a82e08..e2712cf8702f255fc344409d56cc0f2c0b4f20fc 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() {
Erik does not do reviews 2009/08/26 20:13:26 I'm not sure I see the reason to split out the Ini
CreateWidgetHostView();
}
« no previous file with comments | « chrome/browser/gtk/extension_view_gtk.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698