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

Unified Diff: cc/trees/remote_channel_impl.cc

Issue 2183403002: cc: Move data to LayerTree from LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@layer_tree_change
Patch Set: Missed one test. 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
Index: cc/trees/remote_channel_impl.cc
diff --git a/cc/trees/remote_channel_impl.cc b/cc/trees/remote_channel_impl.cc
index 0ffaecf83d0c73406bfea08206672d141dd7b218..5606752e7db297eefa63750ac6634e3831cf6d9f 100644
--- a/cc/trees/remote_channel_impl.cc
+++ b/cc/trees/remote_channel_impl.cc
@@ -446,8 +446,8 @@ void RemoteChannelImpl::DidInitializeOutputSurfaceOnMain(
// The commit after a new output surface can early out, in which case we will
// never redraw. Schedule one just to be safe.
- PostSetNeedsRedrawToImpl(
- gfx::Rect(main().layer_tree_host->device_viewport_size()));
+ PostSetNeedsRedrawToImpl(gfx::Rect(
+ main().layer_tree_host->GetLayerTree()->device_viewport_size()));
}
void RemoteChannelImpl::SendMessageProtoOnMain(

Powered by Google App Engine
This is Rietveld 408576698