Index: ui/views/button_drag_utils.h |
diff --git a/ui/views/button_drag_utils.h b/ui/views/button_drag_utils.h |
index 8f1a7eedf7d8eec4f8ef408c6f0aadef5a01eb60..360c3e4bc65d2a33d18bb0fe47a453b2bde4cf35 100644 |
--- a/ui/views/button_drag_utils.h |
+++ b/ui/views/button_drag_utils.h |
@@ -32,16 +32,16 @@ VIEWS_EXPORT void SetURLAndDragImage(const GURL& url, |
const base::string16& title, |
const gfx::ImageSkia& icon, |
const gfx::Point* press_pt, |
- ui::OSExchangeData* data, |
- views::Widget* widget); |
+ const views::Widget& widget, |
Evan Stade
2017/03/16 00:03:30
widget isn't allowed to be null and out params are
|
+ ui::OSExchangeData* data); |
// As above, but only sets the image. |
VIEWS_EXPORT void SetDragImage(const GURL& url, |
const base::string16& title, |
const gfx::ImageSkia& icon, |
const gfx::Point* press_pt, |
- ui::OSExchangeData* data, |
- views::Widget* widget); |
+ const views::Widget& widget, |
+ ui::OSExchangeData* data); |
} // namespace drag_utils |