diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 18:48:07 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-12 18:48:07 +0000 |
commit | 5be517218a74dc9e291fb2821e2af9f01fb47e10 (patch) | |
tree | a0c4ff49da17d8121a9796523e1da7faa9e2f7c3 /chrome/common | |
parent | b4a718ef7d860ccea49e05fa2959790259c8f712 (diff) | |
download | chromium_src-5be517218a74dc9e291fb2821e2af9f01fb47e10.zip chromium_src-5be517218a74dc9e291fb2821e2af9f01fb47e10.tar.gz chromium_src-5be517218a74dc9e291fb2821e2af9f01fb47e10.tar.bz2 |
Make timer.cc portable by factoring its Windows bits into MessageLoop.
Please note that the goal of this CL is merely to move the Windowisms out of timer.cc and into message_loop.cc. Next up will be to refactor message_loop.cc so that the Windowisms are further isolated.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/slide_animation.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/slide_animation.cc b/chrome/common/slide_animation.cc index f3f9c5a..2be6d093 100644 --- a/chrome/common/slide_animation.cc +++ b/chrome/common/slide_animation.cc @@ -29,6 +29,8 @@ #include "chrome/common/slide_animation.h" +#include <math.h> + // How many frames per second to target. static const int kDefaultFramerateHz = 50; |