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

Unified Diff: cc/test/layer_tree_test.cc

Issue 1831083002: cc: Force a redraw on initializing a new output surface for remote compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed updating the test. Created 4 years, 9 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/test/layer_tree_test.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/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index ca6e54dd7890e0c2c9c93be8000e57b26c246caf..87a79debd6b8f21eeb25e8415e153d1057878ae3 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -1000,6 +1000,13 @@ LayerTreeHost* LayerTreeTest::layer_tree_host() {
return layer_tree_host_.get();
}
+LayerTreeHost* LayerTreeTest::remote_client_layer_tree_host() {
+ DCHECK(!task_runner_provider() || task_runner_provider()->IsMainThread() ||
+ task_runner_provider()->IsMainThreadBlocked());
+ DCHECK(IsRemoteTest());
+ return remote_client_layer_tree_host_.get();
+}
+
ProxyMainForTest* LayerTreeTest::GetProxyMainForTest() const {
DCHECK(HasImplThread());
return static_cast<ProxyMainForTest*>(proxy());
« no previous file with comments | « cc/test/layer_tree_test.h ('k') | cc/trees/remote_channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698