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

Issue 6992031: Fixed a crash involving popup windows in compact nav mode. (Closed)

Created:
9 years, 7 months ago by SteveT
Modified:
9 years, 7 months ago
Reviewers:
MAD
CC:
chromium-reviews
Visibility:
Public.

Description

Fixed a crash involving popup windows in compact nav mode. BUG=83551 TEST=See 83551. Ensure that popups in compact nav mode are stable and can be clicked on without crashing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86639

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed nits, comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc View 1 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
SteveT
9 years, 7 months ago (2011-05-24 19:05:42 UTC) #1
MAD
9 years, 7 months ago (2011-05-24 19:14:47 UTC) #2
LGTM... with small requests...

Thanks!

BYE
MAD

http://codereview.chromium.org/6992031/diff/1/chrome/browser/ui/views/compact...
File chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc
(right):

http://codereview.chromium.org/6992031/diff/1/chrome/browser/ui/views/compact...
chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc:93:
top_level_window_ = browser_view_->GetWidget()->GetNativeView();
Please add a DCHECK that host_ and browser_view_ are not NULL.
And one for browser_view_->GetWidget() not being NULL either...

http://codereview.chromium.org/6992031/diff/1/chrome/browser/ui/views/compact...
chrome/browser/ui/views/compact_nav/compact_location_bar_view_host.cc:167: if
(browser_view_->GetBookmarkBarView() &&
Please add a comment that the bookmark bar view can be NULL in popup views for
example.

Powered by Google App Engine
This is Rietveld 408576698