summaryrefslogtreecommitdiffstats
path: root/chrome/common/common_param_traits_unittest.cc
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 14:58:41 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 14:58:41 +0000
commitee8829a058616ab519740edeec6fd1eaf41e748f (patch)
tree437d9da2f64a19bbdfa9e7d8a6c6cac282e0e485 /chrome/common/common_param_traits_unittest.cc
parentfacf2f049458b5875398cf26cd78a59365484911 (diff)
downloadchromium_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/common/common_param_traits_unittest.cc')
-rw-r--r--chrome/common/common_param_traits_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/common_param_traits_unittest.cc b/chrome/common/common_param_traits_unittest.cc
index d888084..0aac83a 100644
--- a/chrome/common/common_param_traits_unittest.cc
+++ b/chrome/common/common_param_traits_unittest.cc
@@ -176,7 +176,7 @@ TEST(IPCMessageTest, Geoposition) {
input.altitude_accuracy = 9.3;
input.speed = 55;
input.heading = 120;
- input.timestamp = 1977;
+ input.timestamp = base::Time::FromInternalValue(1977);
input.error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
input.error_message = L"unittest error message for geoposition";