| 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 0df1f6f8db610b94a44a8bddb29d9d089c30813c..db9b3711f215daed7ab85fc966ae500055ce532b 100644
|
| --- a/chrome/browser/ui/views/tabs/tab_strip.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab_strip.cc
|
| @@ -1474,8 +1474,8 @@ void TabStrip::PaintChildren(const ui::PaintContext& context) {
|
| // We pass false for |lcd_text_requires_opaque_layer| so that background
|
| // tab titles will get LCD AA. These are rendered opaquely on an opaque tab
|
| // background before the layer is composited, so this is safe.
|
| - ui::CompositingRecorder opacity_recorder(context, size(),
|
| - GetInactiveAlpha(false), false);
|
| + ui::CompositingRecorder opacity_recorder(context, GetInactiveAlpha(false),
|
| + false);
|
|
|
| PaintClosingTabs(tab_count(), context);
|
|
|
| @@ -1534,8 +1534,8 @@ void TabStrip::PaintChildren(const ui::PaintContext& context) {
|
| // NewTabButton::PaintFill() for why we don't do this for the pressed state.
|
| // This call doesn't need to set |lcd_text_requires_opaque_layer| to false
|
| // because no text will be drawn.
|
| - ui::CompositingRecorder opacity_recorder(context, size(),
|
| - GetInactiveAlpha(true), true);
|
| + ui::CompositingRecorder opacity_recorder(context, GetInactiveAlpha(true),
|
| + true);
|
| newtab_button_->Paint(context);
|
| } else {
|
| newtab_button_->Paint(context);
|
|
|