| Index: athena/system/background_controller.cc
|
| diff --git a/athena/system/background_controller.cc b/athena/system/background_controller.cc
|
| index 67b0b7f017e245829fb3b7eafb535130288d72ee..cb90405120385ce3b6ad9271fd442f821b540ed7 100644
|
| --- a/athena/system/background_controller.cc
|
| +++ b/athena/system/background_controller.cc
|
| @@ -17,11 +17,7 @@ namespace athena {
|
|
|
| class BackgroundView : public views::View {
|
| public:
|
| - BackgroundView() : system_info_view_(nullptr) {
|
| - system_info_view_ =
|
| - SystemUI::Get()->CreateSystemInfoView(SystemUI::COLOR_SCHEME_LIGHT);
|
| - AddChildView(system_info_view_);
|
| - }
|
| + BackgroundView() {}
|
| ~BackgroundView() override {}
|
|
|
| void SetImage(const gfx::ImageSkia& image) {
|
| @@ -30,11 +26,6 @@ class BackgroundView : public views::View {
|
| }
|
|
|
| // views::View:
|
| - virtual void Layout() override {
|
| - system_info_view_->SetBounds(
|
| - 0, 0, width(), system_info_view_->GetPreferredSize().height());
|
| - }
|
| -
|
| virtual void OnPaint(gfx::Canvas* canvas) override {
|
| canvas->DrawImageInt(image_,
|
| 0,
|
| @@ -50,7 +41,6 @@ class BackgroundView : public views::View {
|
|
|
| private:
|
| gfx::ImageSkia image_;
|
| - views::View* system_info_view_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BackgroundView);
|
| };
|
|
|