| Index: chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| diff --git a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| index ba58bd4504d337874efd75d0c4d46979c94f4d58..269a8978abf85e43a0747ed2aa1493b98ee0dce2 100644
|
| --- a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| +++ b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| @@ -649,7 +649,7 @@ void CalculatePositionsInFrame(
|
| inMode:NSEventTrackingRunLoopMode
|
| dequeue:YES];
|
| if (!event || [event type] == NSLeftMouseDragged) {
|
| - NSPasteboard* pboard;
|
| + NSPasteboard* pboard = nil;
|
| if (icon) pboard = [icon view]->GetDragPasteboard();
|
| if (decoration) pboard = decoration->GetDragPasteboard();
|
| DCHECK(pboard);
|
| @@ -663,7 +663,7 @@ void CalculatePositionsInFrame(
|
| if ([controlView isFlipped])
|
| dragPoint.y += NSHeight(decorationRect);
|
|
|
| - NSImage* image;
|
| + NSImage* image = nil;
|
| if (icon) image = [icon view]->GetImage();
|
| if (decoration) image = decoration->GetDragImage();
|
| [controlView dragImage:image
|
|
|