| Index: chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm b/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| index 4c957cabdc6476635007d29b266ed659b7981962..1f54b1f8c1d898686d3d8b08984c307fba98e12a 100644
|
| --- a/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| @@ -75,9 +75,6 @@ const CGFloat kTextWidth = kWindowWidth - (kImageSize + kImageSpacing +
|
| NSPointerFunctionsStrongMemory |
|
| NSPointerFunctionsObjectPersonality]);
|
|
|
| - ResourceBundle& rb = ResourceBundle::GetSharedInstance();
|
| - defaultIcon_.reset([rb.GetNativeImageNamed(IDR_DEFAULT_FAVICON) retain]);
|
| -
|
| [[self bubble] setArrowLocation:info_bubble::kTopLeft];
|
| [self performLayout];
|
| [self showWindow:nil];
|
| @@ -240,8 +237,7 @@ const CGFloat kTextWidth = kWindowWidth - (kImageSize + kImageSpacing +
|
| for (NSUInteger i = 0; i < [iconImages_ count]; ++i) {
|
| scoped_nsobject<NSButtonCell> cell([[NSButtonCell alloc] init]);
|
| NSImage* image = static_cast<NSImage*>([iconImages_ pointerAtIndex:i]);
|
| - if (!image)
|
| - image = defaultIcon_;
|
| + DCHECK(image != NULL);
|
|
|
| // Set cell styles so it acts as image button.
|
| [cell setBordered:NO];
|
|
|