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

Unified Diff: sky/engine/core/loader/DocumentLoadTiming.cpp

Issue 880473003: sky-scrollable should use a reasonable fling curve (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Now with heights Created 5 years, 11 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
Index: sky/engine/core/loader/DocumentLoadTiming.cpp
diff --git a/sky/engine/core/loader/DocumentLoadTiming.cpp b/sky/engine/core/loader/DocumentLoadTiming.cpp
index 8e20f8ab2b43e731ddbe2a838a8cdd96106be262..516f9bebf46948e5f7dd23a3afe730c2bf2fff81 100644
--- a/sky/engine/core/loader/DocumentLoadTiming.cpp
+++ b/sky/engine/core/loader/DocumentLoadTiming.cpp
@@ -44,13 +44,6 @@ DocumentLoadTiming::DocumentLoadTiming()
{
}
-double DocumentLoadTiming::monotonicTimeToZeroBasedDocumentTime(double monotonicTime) const
-{
- if (!monotonicTime)
- return 0.0;
- return monotonicTime - m_referenceMonotonicTime;
-}
-
double DocumentLoadTiming::monotonicTimeToPseudoWallTime(double monotonicTime) const
{
if (!monotonicTime)

Powered by Google App Engine
This is Rietveld 408576698