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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 1427693002: Move SingleThreadProxy::LayoutAndUpdateLayers into LayerTreeHost directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « cc/trees/single_thread_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 17c43a2f2b2cbc90f3d48f6bdeaf85377e15863a..eb24f62f21d610fca6db5dbd54b5e56d4b34dadd 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -514,19 +514,6 @@ void SingleThreadProxy::PostFrameTimingEventsOnImplThread(
main_frame_events.Pass());
}
-void SingleThreadProxy::LayoutAndUpdateLayers() {
- if (layer_tree_host_->output_surface_lost()) {
- RequestNewOutputSurface();
- // RequestNewOutputSurface could have synchronously created an output
- // surface, so check again before returning.
- if (layer_tree_host_->output_surface_lost())
- return;
- }
-
- layer_tree_host_->Layout();
- layer_tree_host_->UpdateLayers();
-}
-
void SingleThreadProxy::CompositeImmediately(base::TimeTicks frame_begin_time) {
TRACE_EVENT0("cc,benchmark", "SingleThreadProxy::CompositeImmediately");
DCHECK(Proxy::IsMainThread());
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698