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

Issue 11428100: Add NULL check in SystemTray::ShowDetailedView. (Closed)

Created:
8 years ago by kinaba
Modified:
8 years ago
Reviewers:
sadrul
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Add NULL check in SystemTray::ShowDetailedView. The pointer can be NULL when the detailed view creation failed (SystemTrayBubble::UpdateView => !bubble_view_->has_children() => Close). BUG=163518 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170434

Patch Set 1 #

Patch Set 2 : Add a test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M ash/system/tray/system_tray.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 1 2 chunks +43 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kinaba
Could you take a look?
8 years ago (2012-11-30 04:38:05 UTC) #1
sadrul
Would you mind adding a test?
8 years ago (2012-11-30 04:44:44 UTC) #2
kinaba
On 2012/11/30 04:44:44, sadrul wrote: > Would you mind adding a test? Sounds good. Done.
8 years ago (2012-11-30 05:10:23 UTC) #3
sadrul
Thanks! LGTM
8 years ago (2012-11-30 05:12:47 UTC) #4
commit-bot: I haz the power
8 years ago (2012-11-30 05:22:07 UTC) #5

Powered by Google App Engine
This is Rietveld 408576698