| Index: chrome/browser/ui/cocoa/location_bar/button_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/button_decoration.mm b/chrome/browser/ui/cocoa/location_bar/button_decoration.mm
|
| index 2c0a313a2b3fbe2a636057b4597ce856e0c91d4c..963c449edcd464402d4d0c350822b74c632e56d1 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/button_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/button_decoration.mm
|
| @@ -5,7 +5,6 @@
|
| #include <cmath>
|
|
|
| #import "chrome/browser/ui/cocoa/location_bar/button_decoration.h"
|
| -#import "chrome/browser/ui/cocoa/nsview_additions.h"
|
|
|
| #include "base/logging.h"
|
|
|
| @@ -47,11 +46,7 @@ CGFloat ButtonDecoration::GetWidthForSpace(CGFloat width) {
|
| }
|
|
|
| void ButtonDecoration::DrawInFrame(NSRect frame, NSView* control_view) {
|
| - // Get tne inner frame that excludes the border and the shadow, and draw the
|
| - // image in there. Assumes that the button's images fit exactly inside that
|
| - // space.
|
| - NSRect innerFrame = NSInsetRect(frame, 0, 2 * [control_view cr_lineWidth]);
|
| - [GetImage() drawInRect:innerFrame
|
| + [GetImage() drawInRect:frame
|
| fromRect:NSZeroRect // Entire image
|
| operation:NSCompositeSourceOver
|
| fraction:1.0
|
|
|