summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/button/button_dropdown.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/controls/button/button_dropdown.cc')
-rw-r--r--ui/views/controls/button/button_dropdown.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/views/controls/button/button_dropdown.cc b/ui/views/controls/button/button_dropdown.cc
index 7ac0ac4..3fcfb61 100644
--- a/ui/views/controls/button/button_dropdown.cc
+++ b/ui/views/controls/button/button_dropdown.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.
@@ -61,7 +61,7 @@ bool ButtonDropDown::OnMousePressed(const MouseEvent& event) {
base::Bind(&ButtonDropDown::ShowDropDownMenu,
show_menu_factory_.GetWeakPtr(),
GetWidget()->GetNativeView()),
- kMenuTimerDelay);
+ base::TimeDelta::FromMilliseconds(kMenuTimerDelay));
}
return ImageButton::OnMousePressed(event);
}