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

Unified Diff: sky/scheduler/time_interval.cc

Issue 963513004: Delete sky/scheduler (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « sky/scheduler/time_interval.h ('k') | sky/scheduler/timer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/scheduler/time_interval.cc
diff --git a/sky/scheduler/time_interval.cc b/sky/scheduler/time_interval.cc
deleted file mode 100644
index 424744851f7f10427093e820a0517023600a03d7..0000000000000000000000000000000000000000
--- a/sky/scheduler/time_interval.cc
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "sky/scheduler/time_interval.h"
-
-#include <cstdlib>
-
-namespace sky {
-
-base::TimeTicks TimeInterval::NextAfter(base::TimeTicks when) {
- int64 offset = std::abs((when - base).ToInternalValue());
- base::TimeDelta excess =
- base::TimeDelta::FromInternalValue(offset % duration.ToInternalValue());
- return when + duration - excess;
-}
-}
« no previous file with comments | « sky/scheduler/time_interval.h ('k') | sky/scheduler/timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698