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

Unified Diff: chrome/browser/chromeos/frame/browser_view.cc

Issue 6577003: Entire DOMBrowser stack (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 10 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
Index: chrome/browser/chromeos/frame/browser_view.cc
diff --git a/chrome/browser/chromeos/frame/browser_view.cc b/chrome/browser/chromeos/frame/browser_view.cc
index c9e3b8861888dfdf5a85332b604ffc9f12351565..7b4c5afa2d99700289b610fbaf6a0056e0787826 100644
--- a/chrome/browser/chromeos/frame/browser_view.cc
+++ b/chrome/browser/chromeos/frame/browser_view.cc
@@ -237,7 +237,8 @@ void BrowserView::Init() {
gtk_frame->GetNonClientView()->SetContextMenuController(this);
// Listen to wrench menu opens.
- toolbar()->AddMenuListener(this);
+ if (toolbar())
+ toolbar()->AddMenuListener(this);
// Make sure the window is set to the right type.
std::vector<int> params;
« no previous file with comments | « chrome/browser/chromeos/frame/browser_view.h ('k') | chrome/browser/chromeos/webui/login/browser/dom_browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698