Chromium Code Reviews| Index: chrome/browser/android/vr_shell/ui_scene.cc |
| diff --git a/chrome/browser/android/vr_shell/ui_scene.cc b/chrome/browser/android/vr_shell/ui_scene.cc |
| index 020e307e94c255163fd4d3d8fac6f71025c993ce..1aceb4d228e4305b4018dab5ee493e65ab75e9e1 100644 |
| --- a/chrome/browser/android/vr_shell/ui_scene.cc |
| +++ b/chrome/browser/android/vr_shell/ui_scene.cc |
| @@ -174,6 +174,12 @@ std::unique_ptr<easing::Easing> ParseEasing( |
| result.reset(new easing::EaseOut(pow)); |
| break; |
| } |
| + case easing::EasingType::EASEINOUT: { |
| + double pow; |
| + CHECK(dict.GetDouble("pow", &pow)); |
| + result.reset(new easing::EaseInOut(pow)); |
|
cjgrant
2017/02/16 15:10:25
Consider moving this function (or file!) to use:
tiborg
2017/02/16 18:39:33
Done.
|
| + break; |
| + } |
| } |
| return result; |
| } |