diff options
Diffstat (limited to 'chrome/browser/chromeos/status_area_view.cc')
-rwxr-xr-x[-rw-r--r--] | chrome/browser/chromeos/status_area_view.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/status_area_view.cc b/chrome/browser/chromeos/status_area_view.cc index 59f4f9c..5b268dd 100644..100755 --- a/chrome/browser/chromeos/status_area_view.cc +++ b/chrome/browser/chromeos/status_area_view.cc @@ -33,8 +33,6 @@ namespace { const int kLeftBorder = 1; // Number of pixels to separate the clock from the next item on the right. const int kClockSeparation = 4; -// Number of pixels to adjust the y value of the clock. -const int kClockYAdjustment = 2; // BrowserWindowGtk tiles its image with this offset const int kCustomFrameBackgroundVerticalOffset = 15; @@ -173,10 +171,6 @@ void StatusAreaView::Layout() { // Handle odd number of pixels. cur_y += (height() - cur_size.height()) % 2; - // Adjustment to make clock line up right. - if (cur == clock_view_) - cur_y += kClockYAdjustment; - // Put next in row horizontally, and center vertically. cur->SetBounds(cur_x, cur_y, cur_size.width(), cur_size.height()); |