Chromium Code Reviews| Index: chrome/browser/chromeos/status_area_view.cc |
| diff --git a/chrome/browser/chromeos/status_area_view.cc b/chrome/browser/chromeos/status_area_view.cc |
| old mode 100644 |
| new mode 100755 |
| index 59f4f9ce01f854169ddd9008ff99c7ae55cb569b..5b268dda96a6c1c77ca5eff57b192bcbee457d88 |
| --- 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. |
|
Evan Stade
2009/10/23 18:06:29
this change releated?
DaveMoore
2009/10/23 18:11:10
Yes...it was correcting for bad positioning.
|
| -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()); |