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

Unified Diff: ash/laser/laser_pointer_points_test_api.cc

Issue 2745953002: ash: Add basic prediction code to the laser pointer. (Closed)
Patch Set: more tests and nits Created 3 years, 9 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 | « ash/laser/laser_pointer_points.cc ('k') | ash/laser/laser_pointer_points_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/laser/laser_pointer_points_test_api.cc
diff --git a/ash/laser/laser_pointer_points_test_api.cc b/ash/laser/laser_pointer_points_test_api.cc
index 01d9d55b3c7fd442298b94d996e6db4112c2b0c9..9b55900d79d2de60080613dfb16acab7a85c9846 100644
--- a/ash/laser/laser_pointer_points_test_api.cc
+++ b/ash/laser/laser_pointer_points_test_api.cc
@@ -18,7 +18,7 @@ int LaserPointerPointsTestApi::GetNumberOfPoints() const {
void LaserPointerPointsTestApi::MoveForwardInTime(
const base::TimeDelta& delta) {
- base::Time new_time = instance_->collection_latest_time_ + delta;
+ base::TimeTicks new_time = instance_->collection_latest_time_ + delta;
instance_->MoveForwardToTime(new_time);
LaserPointerPoints::LaserPoint new_point;
« no previous file with comments | « ash/laser/laser_pointer_points.cc ('k') | ash/laser/laser_pointer_points_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698