Index: ui/app_list/views/contents_animator.cc |
diff --git a/ui/app_list/views/contents_animator.cc b/ui/app_list/views/contents_animator.cc |
index cc38108175a3657b0025b22f64fe0a214ab22b2b..0c0bbfac3c4c2b43f05d442fcbc8a53e46063f6e 100644 |
--- a/ui/app_list/views/contents_animator.cc |
+++ b/ui/app_list/views/contents_animator.cc |
@@ -95,10 +95,10 @@ void ContentsAnimator::UpdateSearchBoxForDefaultAnimation(double progress, |
gfx::ShadowValue target_shadow = GetSearchBoxShadowForState(to_state); |
SearchBoxView* search_box = contents_view()->GetSearchBoxView(); |
- gfx::Point offset(gfx::Tween::LinearIntValueBetween( |
- progress, original_shadow.x(), target_shadow.x()), |
- gfx::Tween::LinearIntValueBetween( |
- progress, original_shadow.y(), target_shadow.y())); |
+ gfx::Vector2d offset(gfx::Tween::LinearIntValueBetween( |
+ progress, original_shadow.x(), target_shadow.x()), |
+ gfx::Tween::LinearIntValueBetween( |
+ progress, original_shadow.y(), target_shadow.y())); |
search_box->SetShadow(gfx::ShadowValue( |
offset, gfx::Tween::LinearIntValueBetween( |
progress, original_shadow.blur(), target_shadow.blur()), |