| Index: chrome/browser/ui/gtk/custom_drag.cc
|
| diff --git a/chrome/browser/ui/gtk/custom_drag.cc b/chrome/browser/ui/gtk/custom_drag.cc
|
| index 5cc5ee81cc9a04f8d148bef89438185c204b4ab8..e60bb173b77f15b23dc5d469546d6086ac49ce49 100644
|
| --- a/chrome/browser/ui/gtk/custom_drag.cc
|
| +++ b/chrome/browser/ui/gtk/custom_drag.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -68,7 +68,7 @@ CustomDrag::~CustomDrag() {
|
|
|
| void CustomDrag::OnDragBegin(GtkWidget* widget, GdkDragContext* drag_context) {
|
| if (image_)
|
| - gtk_drag_set_icon_pixbuf(drag_context, *image_, 0, 0);
|
| + gtk_drag_set_icon_pixbuf(drag_context, image_->ToGdkPixbuf(), 0, 0);
|
| }
|
|
|
| void CustomDrag::OnDragEnd(GtkWidget* widget, GdkDragContext* drag_context) {
|
| @@ -111,7 +111,7 @@ void DownloadItemDrag::SetSource(GtkWidget* widget,
|
| G_CALLBACK(OnDragDataGetStandalone), item);
|
|
|
| if (icon)
|
| - gtk_drag_source_set_icon_pixbuf(widget, *icon);
|
| + gtk_drag_source_set_icon_pixbuf(widget, icon->ToGdkPixbuf());
|
| }
|
|
|
| // static
|
|
|