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

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

Issue 2867029: Fixes new wrench related problems on views: (Closed)
Patch Set: Created 10 years, 6 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 | « no previous file | chrome/browser/views/toolbar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view.cc
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index caca13a263092e9f40f334fa2d206c4f2b7da809..4e7b4112aaaa869f5dfaf587be68a7a9e268773f 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -1182,7 +1182,10 @@ void BrowserView::ShowPageInfo(Profile* profile,
}
void BrowserView::ShowPageMenu() {
- toolbar_->page_menu()->Activate();
+ // TODO(sky): get rid of this and bindings if we decide to keep the new merged
+ // menu.
+ if (toolbar_->page_menu())
+ toolbar_->page_menu()->Activate();
}
void BrowserView::ShowAppMenu() {
« no previous file with comments | « no previous file | chrome/browser/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698