diff options
Diffstat (limited to 'ui/views/controls/slider.cc')
-rw-r--r-- | ui/views/controls/slider.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/controls/slider.cc b/ui/views/controls/slider.cc index 69772ed..7789e5f 100644 --- a/ui/views/controls/slider.cc +++ b/ui/views/controls/slider.cc @@ -326,7 +326,7 @@ void Slider::AnimationProgressed(const gfx::Animation* animation) { void Slider::GetAccessibleState(ui::AccessibleViewState* state) { state->role = ui::AccessibilityTypes::ROLE_SLIDER; state->name = accessible_name_; - state->value = UTF8ToUTF16( + state->value = base::UTF8ToUTF16( base::StringPrintf("%d%%", (int)(value_ * 100 + 0.5))); } |