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

Unified Diff: components/html_viewer/blink_platform_impl.cc

Issue 1550563002: Blink Platform: Remove time functions from Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge again. Created 4 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
Index: components/html_viewer/blink_platform_impl.cc
diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc
index 53df0ed33441fc5e7e71f752e4a9666083b2f319..0ae90c7f3d7fa37f47c65fadfacfab8fe21e9079 100644
--- a/components/html_viewer/blink_platform_impl.cc
+++ b/components/html_viewer/blink_platform_impl.cc
@@ -120,15 +120,6 @@ blink::WebBlobRegistry* BlinkPlatformImpl::blobRegistry() {
return &blob_registry_;
}
-double BlinkPlatformImpl::currentTimeSeconds() {
- return base::Time::Now().ToDoubleT();
-}
-
-double BlinkPlatformImpl::monotonicallyIncreasingTimeSeconds() {
- return base::TimeTicks::Now().ToInternalValue() /
- static_cast<double>(base::Time::kMicrosecondsPerSecond);
-}
-
bool BlinkPlatformImpl::isThreadedCompositingEnabled() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698