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

Unified Diff: cc/trees/thread_proxy.cc

Issue 1052103002: Revert of cc: Make scheduling be driven by vsync for android webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 2253a4f65f6b92c00d0ebc93d2f93a3c23ee34bc..9a095efcd4b579006a60cda0785777cfe30779bd 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -1114,12 +1114,6 @@
return DrawSwapInternal(forced_draw);
}
-void ThreadProxy::ScheduledActionInvalidateOutputSurface() {
- TRACE_EVENT0("cc", "ThreadProxy::ScheduledActionInvalidateOutputSurface");
- DCHECK(impl().layer_tree_host_impl->output_surface());
- impl().layer_tree_host_impl->output_surface()->Invalidate();
-}
-
void ThreadProxy::DidAnticipatedDrawTimeChange(base::TimeTicks time) {
if (impl().current_resource_update_controller)
impl().current_resource_update_controller->PerformMoreUpdates(time);
@@ -1381,9 +1375,4 @@
main_thread_weak_ptr_));
}
-void ThreadProxy::OnDrawForOutputSurface() {
- DCHECK(IsImplThread());
- impl().scheduler->OnDrawForOutputSurface();
-}
-
} // namespace cc
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | content/browser/android/in_process/synchronous_compositor_external_begin_frame_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698