summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/mock_location_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/geolocation/mock_location_provider.cc')
-rw-r--r--chrome/browser/geolocation/mock_location_provider.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/geolocation/mock_location_provider.cc b/chrome/browser/geolocation/mock_location_provider.cc
index e3575f0..689ab9c 100644
--- a/chrome/browser/geolocation/mock_location_provider.cc
+++ b/chrome/browser/geolocation/mock_location_provider.cc
@@ -78,9 +78,7 @@ class AutoMockLocationProvider : public MockLocationProvider {
position_.accuracy = 3;
position_.latitude = 4.3;
position_.longitude = -7.8;
- // Webkit compares the timestamp to wall clock time, so we need it to be
- // contemporary.
- position_.timestamp = base::Time::Now();
+ position_.timestamp = base::Time::FromDoubleT(4567.8);
} else {
position_.error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
}