Index: ui/views/drag_utils.h |
diff --git a/ui/views/drag_utils.h b/ui/views/drag_utils.h |
index db95cddeefe8746a048e30864dd0046bbb8e69b2..5f2c5b52316806c5b235a9dd16b2074746e1b232 100644 |
--- a/ui/views/drag_utils.h |
+++ b/ui/views/drag_utils.h |
@@ -31,11 +31,11 @@ VIEWS_EXPORT void RunShellDrag(gfx::NativeView view, |
// Returns the device scale for the display associated with this |widget|'s |
// native view. |
-VIEWS_EXPORT float ScaleFactorForDragFromWidget(Widget* widget); |
+VIEWS_EXPORT float ScaleFactorForDragFromWidget(const Widget* widget); |
// Returns a canvas that can be used to draw the drag image. Caller owns the |
// returned object. |widget| is Widget hosting the view being dragged. |
-VIEWS_EXPORT gfx::Canvas* GetCanvasForDragImage(Widget* widget, |
+VIEWS_EXPORT gfx::Canvas* GetCanvasForDragImage(const Widget* widget, |
const gfx::Size& canvas_size); |
} // namespace views |