| 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;
|
|
|