| Index: ui/gfx/animation/tween.cc
|
| diff --git a/ui/gfx/animation/tween.cc b/ui/gfx/animation/tween.cc
|
| index 483d772b5b4d47f4f7ba7f65d391f665df5819db..c76924bda3e8d92dcba7c6c39dadf24e668fb523 100644
|
| --- a/ui/gfx/animation/tween.cc
|
| +++ b/ui/gfx/animation/tween.cc
|
| @@ -6,10 +6,6 @@
|
|
|
| #include <math.h>
|
|
|
| -#if defined(OS_WIN)
|
| -#include <float.h>
|
| -#endif
|
| -
|
| #include <algorithm>
|
|
|
| #include "base/basictypes.h"
|
| @@ -140,11 +136,7 @@ int Tween::IntValueBetween(double value, int start, int target) {
|
| delta--;
|
| else
|
| delta++;
|
| -#if defined(OS_WIN)
|
| - return start + static_cast<int>(value * _nextafter(delta, 0));
|
| -#else
|
| return start + static_cast<int>(value * nextafter(delta, 0));
|
| -#endif
|
| }
|
|
|
| //static
|
|
|