Skip to content

Commit

Permalink
Remove the brightness control line from the uber tray bubble default …
Browse files Browse the repository at this point in the history
…view.

BUG=138177

Review URL: https://chromiumcodereview.appspot.com/10829060

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148771 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
jennyz@google.com committed Jul 27, 2012
1 parent b3386eb commit c856bd3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ash/system/brightness/tray_brightness.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ views::View* TrayBrightness::CreateTrayView(user::LoginStatus status) {
}

views::View* TrayBrightness::CreateDefaultView(user::LoginStatus status) {
CHECK(brightness_view_ == NULL);
brightness_view_ = new tray::BrightnessView(current_percent_);
is_default_view_ = true;
return brightness_view_;
return NULL;
}

views::View* TrayBrightness::CreateDetailedView(user::LoginStatus status) {
Expand Down

0 comments on commit c856bd3

Please sign in to comment.