summaryrefslogtreecommitdiffstats
path: root/ui/events/gestures/velocity_calculator_unittest.cc
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-07 18:35:10 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-07 18:35:10 +0000
commit8120ab190f48accf55af503b9eda73b52fc4a8e7 (patch)
tree259a3dade283a42700bad50712e5619553a5353b /ui/events/gestures/velocity_calculator_unittest.cc
parentd3f3189f1cd8607b376827e21355d86715ab1aac (diff)
downloadchromium_src-8120ab190f48accf55af503b9eda73b52fc4a8e7.zip
chromium_src-8120ab190f48accf55af503b9eda73b52fc4a8e7.tar.gz
chromium_src-8120ab190f48accf55af503b9eda73b52fc4a8e7.tar.bz2
Revert 262147 "Remove all uses of GG_LONGLONG and GG_ULONGLONG."
> Remove all uses of GG_LONGLONG and GG_ULONGLONG. > > 123LL and 123ULL now work everywhere. You can also use INT64_C and > UINT64_C (from <stdint.h>) in Chromium code (we force-define > __STDC_CONSTANT_MACROS). (And sometimes you can just use > static_cast<(u)int64_t>.) > > Don't remove their definitions yet, because some macros that are > multiply-defined (in an identical way) rely on them. D'oh. > > R=brettw@chromium.org > TBR=sky@chromium.org,satorux@chromium.org,vrk@chromium.org,rch@chromium.org,shess@chromium.org > > Review URL: https://codereview.chromium.org/218953003 TBR=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/227743006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/events/gestures/velocity_calculator_unittest.cc')
-rw-r--r--ui/events/gestures/velocity_calculator_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/events/gestures/velocity_calculator_unittest.cc b/ui/events/gestures/velocity_calculator_unittest.cc
index 4e89217..3352acd 100644
--- a/ui/events/gestures/velocity_calculator_unittest.cc
+++ b/ui/events/gestures/velocity_calculator_unittest.cc
@@ -74,7 +74,7 @@ TEST(VelocityCalculatorTest, IsAccurateWithLargeTimes) {
EXPECT_GT(velocity_calculator.YVelocity(), -1270000);
EXPECT_LT(velocity_calculator.YVelocity(), -1240000);
- start_time = 1223372036800000000LL;
+ start_time = GG_LONGLONG(1223372036800000000);
velocity_calculator.PointSeen(9, -11, start_time);
velocity_calculator.PointSeen(21, -19, start_time + 8);
velocity_calculator.PointSeen(30, -32, start_time + 16);