Index: chrome/browser/chromeos/status/status_area_view.cc |
=================================================================== |
--- chrome/browser/chromeos/status/status_area_view.cc (revision 113185) |
+++ chrome/browser/chromeos/status/status_area_view.cc (working copy) |
@@ -13,10 +13,6 @@ |
#include "ui/gfx/canvas.h" |
#include "ui/views/border.h" |
-#if defined(USE_AURA) |
-#include "ui/views/widget/widget.h" |
-#endif |
- |
// Number of pixels to separate each icon. |
#if defined(TOUCH_UI) |
const int kSeparation = 25; |
@@ -96,10 +92,6 @@ |
// BrowserView know to relayout, which will reset the bounds of this view. |
Layout(); |
PreferredSizeChanged(); |
-#if defined(USE_AURA) |
- if (GetWidget()) |
- GetWidget()->SetSize(GetPreferredSize()); |
-#endif |
} |
void StatusAreaView::MakeButtonsActive(bool active) { |