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

Unified Diff: Source/modules/geolocation/GeolocationInspectorAgent.cpp

Issue 143003024: Fix geolocation timestamp to return in milliseconds when emulating in inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding test Created 6 years, 10 months 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 | « LayoutTests/inspector/geolocation-emulation-tests-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/geolocation/GeolocationInspectorAgent.cpp
diff --git a/Source/modules/geolocation/GeolocationInspectorAgent.cpp b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
index 8c31f3a587783c131a5d586a873643c7778e5432..902ca14abd37ae6951f892da8a8c7b79e0e8a5ba 100644
--- a/Source/modules/geolocation/GeolocationInspectorAgent.cpp
+++ b/Source/modules/geolocation/GeolocationInspectorAgent.cpp
@@ -59,7 +59,7 @@ void GeolocationInspectorAgent::setGeolocationOverride(ErrorString* error, const
m_geolocationOverridden = true;
if (latitude && longitude && accuracy)
- m_geolocationPosition = GeolocationPosition::create(currentTimeMS(), *latitude, *longitude, *accuracy);
+ m_geolocationPosition = GeolocationPosition::create(currentTime(), *latitude, *longitude, *accuracy);
else
m_geolocationPosition.clear();
« no previous file with comments | « LayoutTests/inspector/geolocation-emulation-tests-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698