diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 14:58:41 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 14:58:41 +0000 |
commit | ee8829a058616ab519740edeec6fd1eaf41e748f (patch) | |
tree | 437d9da2f64a19bbdfa9e7d8a6c6cac282e0e485 /chrome/renderer/geolocation_dispatcher.cc | |
parent | facf2f049458b5875398cf26cd78a59365484911 (diff) | |
download | chromium_src-ee8829a058616ab519740edeec6fd1eaf41e748f.zip chromium_src-ee8829a058616ab519740edeec6fd1eaf41e748f.tar.gz chromium_src-ee8829a058616ab519740edeec6fd1eaf41e748f.tar.bz2 |
Switch from using custom time / epoch handling code (inherited from gears) to base::Time
BUG=http://code.google.com/p/chromium/issues/detail?id=37510
TEST=unit_tests --gtest_filter=geol*
Review URL: http://codereview.chromium.org/776001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41722 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/geolocation_dispatcher.cc')
-rw-r--r-- | chrome/renderer/geolocation_dispatcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/geolocation_dispatcher.cc b/chrome/renderer/geolocation_dispatcher.cc index 99c056c..7de2847 100644 --- a/chrome/renderer/geolocation_dispatcher.cc +++ b/chrome/renderer/geolocation_dispatcher.cc @@ -97,7 +97,7 @@ void GeolocationDispatcher::OnGeolocationPositionUpdated( geoposition.is_valid_altitude_accuracy(), geoposition.altitude_accuracy, geoposition.is_valid_heading(), geoposition.heading, geoposition.is_valid_speed(), geoposition.speed, - geoposition.timestamp); + static_cast<int64>(geoposition.timestamp.ToDoubleT() * 1000)); } } |