Chromium Code Reviews| Index: chrome/browser/ui/views/browser_actions_container.cc |
| diff --git a/chrome/browser/ui/views/browser_actions_container.cc b/chrome/browser/ui/views/browser_actions_container.cc |
| index 9508b0acaf43113be736a657afe31a4c3ae8073f..6b4caa8c5f59aaf530b218ae00ef5bfaf20da2a1 100644 |
| --- a/chrome/browser/ui/views/browser_actions_container.cc |
| +++ b/chrome/browser/ui/views/browser_actions_container.cc |
| @@ -403,9 +403,9 @@ void BrowserActionsContainer::WriteDragDataForView(View* sender, |
| BrowserActionButton* button = browser_action_views_[i]->button(); |
| if (button == sender) { |
| // Set the dragging image for the icon. |
| - scoped_ptr<gfx::Canvas> canvas( |
| - browser_action_views_[i]->GetIconWithBadge()); |
| - drag_utils::SetDragImageOnDataObject(*canvas, button->size(), press_pt, |
| + // scoped_ptr<gfx::Canvas> canvas( |
|
pkotwicz
2012/08/07 22:31:22
Nit: remove this
tbarzic
2012/08/08 02:09:29
yeah, I missed that while cleaning up the cl..
|
| + gfx::ImageSkia badge(browser_action_views_[i]->GetIconWithBadge()); |
| + drag_utils::SetDragImageOnDataObject(badge, button->size(), press_pt, |
| data); |
| // Fill in the remaining info. |