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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 656463004: Use the scheduling mechanism provided by the platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed header path. 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
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 76e449ba0ce773b56a26304b3ed80b6f478ab4be..95b6d24d1209bef3948875763d4455df53ed0788 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -1842,8 +1842,6 @@ void WebViewImpl::beginFrame(const WebBeginFrameArgs& frameTime)
if (!validFrameTime.lastFrameTimeMonotonic)
validFrameTime.lastFrameTimeMonotonic = monotonicallyIncreasingTime();
- Scheduler::shared()->willBeginFrame(validFrameTime.lastFrameTimeMonotonic + validFrameTime.interval);
-
// Create synthetic wheel events as necessary for fling.
if (m_gestureAnimation) {
if (m_gestureAnimation->animate(validFrameTime.lastFrameTimeMonotonic))
@@ -1875,7 +1873,7 @@ void WebViewImpl::beginFrame(const WebBeginFrameArgs& frameTime)
void WebViewImpl::didCommitFrameToCompositor()
{
- Scheduler::shared()->didCommitFrameToCompositor();
+ // TODO: Remove this function.
}
void WebViewImpl::layout()

Powered by Google App Engine
This is Rietveld 408576698