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

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: remove unused test file. 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 54547afefd987ea55dd054066491eabf96004a23..d79b743c6e41989666c96f9558eb077d05b8aaa0 100644
--- a/cc/trees/remote_channel_impl.cc
+++ b/cc/trees/remote_channel_impl.cc
@@ -442,8 +442,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