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

Unified Diff: cc/trees/proxy_main.cc

Issue 2231093003: cc: Remove FinishAllRendering, as it doesn't do anything anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finishallrendering: . Created 4 years, 4 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 | « cc/trees/proxy_main.h ('k') | cc/trees/remote_channel_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index 2b789944c76885aac7f8f89f6ce0d5b13e81bec0..04de28097a497ecacf39444e8f1d9bef3f04c1ee 100644
--- a/cc/trees/proxy_main.cc
+++ b/cc/trees/proxy_main.cc
@@ -260,17 +260,6 @@ void ProxyMain::BeginMainFrame(
layer_tree_host_->DidBeginMainFrame();
}
-void ProxyMain::FinishAllRendering() {
- DCHECK(IsMainThread());
- DCHECK(!defer_commits_);
-
- // Make sure all GL drawing is finished on the impl thread.
- DebugScopedSetMainThreadBlocked main_thread_blocked(task_runner_provider_);
- CompletionEvent completion;
- channel_main_->FinishAllRenderingOnImpl(&completion);
- completion.Wait();
-}
-
bool ProxyMain::IsStarted() const {
DCHECK(IsMainThread());
return started_;
« no previous file with comments | « cc/trees/proxy_main.h ('k') | cc/trees/remote_channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698