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

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: .. Created 4 years, 5 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 2e8d745d0171c8ff44a1386b7b2464c0187d4603..ea794fbfd6f277588377a506d94417d13b5b0655 100644
--- a/cc/trees/remote_channel_impl.cc
+++ b/cc/trees/remote_channel_impl.cc
@@ -444,8 +444,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