Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7823)

Unified Diff: chrome/renderer/geolocation_dispatcher.cc

Issue 5984001: Client-based geolocation refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git cl tree Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/geolocation_dispatcher.cc
diff --git a/chrome/renderer/geolocation_dispatcher.cc b/chrome/renderer/geolocation_dispatcher.cc
index 39596af02560dd868caf86ae41e41932d59b9b72..cd49ea8976ad0bf233244fd972fb0384d665f735 100644
--- a/chrome/renderer/geolocation_dispatcher.cc
+++ b/chrome/renderer/geolocation_dispatcher.cc
@@ -124,7 +124,7 @@ void GeolocationDispatcher::OnGeolocationPositionUpdated(
if (geoposition.IsValidFix()) {
controller_->positionChanged(
WebGeolocationPosition(
- static_cast<int64>(geoposition.timestamp.ToDoubleT() * 1000),
+ geoposition.timestamp.ToDoubleT() * 1000.0,
geoposition.latitude, geoposition.longitude,
geoposition.accuracy,
geoposition.is_valid_altitude(), geoposition.altitude,
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698