| Index: chrome/browser/ui/views/tabs/base_tab.cc
|
| diff --git a/chrome/browser/ui/views/tabs/base_tab.cc b/chrome/browser/ui/views/tabs/base_tab.cc
|
| index 4be5f543b0b9e73edfb3352563a54f9d24983dc1..6f38ffb1f475f62c1cb5ec7e81ad7305051a495a 100644
|
| --- a/chrome/browser/ui/views/tabs/base_tab.cc
|
| +++ b/chrome/browser/ui/views/tabs/base_tab.cc
|
| @@ -88,7 +88,7 @@ void DrawIconCenter(gfx::Canvas* canvas,
|
| int dst_y = bounds.y() - (icon_height - bounds.height()) / 2;
|
| // NOTE: the clipping is a work around for 69528, it shouldn't be necessary.
|
| canvas->Save();
|
| - canvas->ClipRectInt(dst_x, dst_y, icon_width, icon_height);
|
| + canvas->ClipRectInt(gfx::Rect(dst_x, dst_y, icon_width, icon_height));
|
| canvas->DrawBitmapInt(image,
|
| image_offset, 0, icon_width, icon_height,
|
| dst_x, dst_y, icon_width, icon_height,
|
| @@ -444,7 +444,7 @@ void BaseTab::PaintIcon(gfx::Canvas* canvas) {
|
| icon_size, icon_size, bounds, false);
|
| } else {
|
| canvas->Save();
|
| - canvas->ClipRectInt(0, 0, width(), height());
|
| + canvas->ClipRectInt(GetLocalBounds());
|
| if (should_display_crashed_favicon_) {
|
| ResourceBundle& rb = ResourceBundle::GetSharedInstance();
|
| SkBitmap crashed_favicon(*rb.GetBitmapNamed(IDR_SAD_FAVICON));
|
|
|