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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 595023002: Implement idle task scheduling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename estimatedNextBeginFrameSeconds Created 6 years, 2 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
« no previous file with comments | « Source/platform/scheduler/TracedTask.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index ee8370585b465be36c7bd37a4f6c6d792ac4700d..5079806ad55ea39392ec2c9dc7f774deaedf07e9 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -1818,7 +1818,8 @@ void WebViewImpl::beginFrame(const WebBeginFrameArgs& frameTime)
if (!validFrameTime.lastFrameTimeMonotonic)
validFrameTime.lastFrameTimeMonotonic = monotonicallyIncreasingTime();
- Scheduler::shared()->willBeginFrame(validFrameTime);
+ Scheduler::shared()->willBeginFrame(
jochen (gone - plz use gerrit) 2014/10/07 11:20:38 nit. no 80 char limit in blink
rmcilroy 2014/10/07 13:05:04 Done.
+ validFrameTime.lastFrameTimeMonotonic + validFrameTime.interval);
// Create synthetic wheel events as necessary for fling.
if (m_gestureAnimation) {
« no previous file with comments | « Source/platform/scheduler/TracedTask.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698