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

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: WebViewSchedulerImpl to unregister the virtual_time_domain_ in the destructor 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 922390fa4fd607895bc7a43664df2655b123b29a..79e6f5bdb7b159f37a9ffa859b5f195d36b5bd03 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -287,12 +287,12 @@ void RendererBlinkPlatformImpl::Shutdown() {
//------------------------------------------------------------------------------
-double RendererBlinkPlatformImpl::currentTimeSeconds() {
- return renderer_scheduler_->CurrentTimeSeconds();
+double RendererBlinkPlatformImpl::virtualTimeSeconds() {
+ return renderer_scheduler_->VirtualTimeSeconds();
}
-double RendererBlinkPlatformImpl::monotonicallyIncreasingTimeSeconds() {
- return renderer_scheduler_->MonotonicallyIncreasingTimeSeconds();
+double RendererBlinkPlatformImpl::monotonicallyIncreasingVirtualTimeSeconds() {
+ return renderer_scheduler_->MonotonicallyIncreasingVirtualTimeSeconds();
}
//------------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698