Chromium Code Reviews| Index: chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc |
| =================================================================== |
| --- chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc (revision 86419) |
| +++ chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc (working copy) |
| @@ -164,7 +164,8 @@ |
| return false; |
| } |
| // Treat the bookmark as a content area when it in detached mode. |
| - if (browser_view_->GetBookmarkBarView()->IsDetached() && |
| + if (browser_view_->GetBookmarkBarView() && |
|
MAD
2011/05/24 19:14:47
Please add a comment that the bookmark bar view ca
|
| + browser_view_->GetBookmarkBarView()->IsDetached() && |
| browser_view_->IsBookmarkBarVisible() && |
| HitOnScreen(browser_view_->GetBookmarkBarView(), p)) { |
| return true; |