Index: chrome/browser/ui/views/tabs/tab_strip.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
index 0e09237e2d72b9d9170734294d03b7f6c2a2c2a2..d0fb9bc054349826db71315d5ab3e3e7389a327d 100644 |
--- a/chrome/browser/ui/views/tabs/tab_strip.cc |
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
@@ -527,8 +527,7 @@ void NewTabButton::PaintFill(bool pressed, |
const int bg_id = tab_strip_->GetBackgroundResourceId(&custom_image); |
// For custom tab backgrounds the background starts at the top of the tab |
// strip. Otherwise the background starts at the top of the frame. |
- const int offset_y = tp->HasCustomImage(bg_id) ? |
- -GetLayoutConstant(TAB_TOP_EXCLUSION_HEIGHT) : background_offset_.y(); |
+ const int offset_y = tp->HasCustomImage(bg_id) ? 0 : background_offset_.y(); |
// The new tab background is mirrored in RTL mode, but the theme background |
// should never be mirrored. Mirror it here to compensate. |
float x_scale = 1.0f; |