Index: ui/views/button_drag_utils.cc |
diff --git a/ui/views/button_drag_utils.cc b/ui/views/button_drag_utils.cc |
index 70237b3f5f3ec182f37cc1c2b8fab140650498db..15a8c881223df67e0767147acfc107d0ff06e61f 100644 |
--- a/ui/views/button_drag_utils.cc |
+++ b/ui/views/button_drag_utils.cc |
@@ -51,7 +51,7 @@ void SetDragImage(const GURL& url, |
gfx::ShadowValues shadows(10, gfx::ShadowValue(gfx::Point(0,0), 1.0f, |
theme->GetSystemColor(ui::NativeTheme::kColorId_LabelBackgroundColor))); |
button.SetTextShadows(shadows); |
- button.set_max_size(gfx::Size(kLinkDragImageMaxWidth, 0)); |
+ button.SetMaxSize(gfx::Size(kLinkDragImageMaxWidth, 0)); |
if (icon.isNull()) { |
button.SetImage(views::Button::STATE_NORMAL, |
*ui::ResourceBundle::GetSharedInstance().GetImageNamed( |