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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1646583002: [Reland] Per WebViewScheduler virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix the broken tests Created 4 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: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 37caab416861321639d13eab0decee49e9647bec..79e6f5bdb7b159f37a9ffa859b5f195d36b5bd03 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -287,13 +287,11 @@ void RendererBlinkPlatformImpl::Shutdown() {
//------------------------------------------------------------------------------
-double RendererBlinkPlatformImpl::currentTimeSeconds() {
- // TODO(alexclarke): Change the way this is plumbed through to blink.
+double RendererBlinkPlatformImpl::virtualTimeSeconds() {
return renderer_scheduler_->VirtualTimeSeconds();
}
-double RendererBlinkPlatformImpl::monotonicallyIncreasingTimeSeconds() {
- // TODO(alexclarke): Change the way this is plumbed through to blink.
+double RendererBlinkPlatformImpl::monotonicallyIncreasingVirtualTimeSeconds() {
return renderer_scheduler_->MonotonicallyIncreasingVirtualTimeSeconds();
}

Powered by Google App Engine
This is Rietveld 408576698