Index: chrome/browser/geolocation/mock_location_provider.cc |
diff --git a/chrome/browser/geolocation/mock_location_provider.cc b/chrome/browser/geolocation/mock_location_provider.cc |
index e3575f0f03e391d5727b42312e0bd18cb43a4bda..689ab9c161d5ff571c92098567e418548ea44670 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; |
} |