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

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: Created 5 years 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 443ba881f0d276081b787ba7ce59a4697e70e7bf..9bb54446eee15894e4084c0f0c440d7533815219 100644
--- a/components/html_viewer/blink_platform_impl.cc
+++ b/components/html_viewer/blink_platform_impl.cc
@@ -118,15 +118,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);
-}
-
void BlinkPlatformImpl::cryptographicallyRandomValues(unsigned char* buffer,
size_t length) {
base::RandBytes(buffer, length);

Powered by Google App Engine
This is Rietveld 408576698