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

Unified Diff: cc/trees/layer_tree_host_pixeltest_readback.cc

Issue 2661523003: cc: Merge LayerTree into the LayerTreeHost. (Closed)
Patch Set: auto Created 3 years, 11 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/layer_tree_host_pixeltest_filters.cc ('k') | cc/trees/layer_tree_host_pixeltest_scrollbars.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_pixeltest_readback.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_readback.cc b/cc/trees/layer_tree_host_pixeltest_readback.cc
index 1395b5c3176052e21ebcbcf288b1da7e784940ae..d920a3e84e729f314bbe2e8feb10937c79e9ab74 100644
--- a/cc/trees/layer_tree_host_pixeltest_readback.cc
+++ b/cc/trees/layer_tree_host_pixeltest_readback.cc
@@ -89,7 +89,7 @@ class LayerTreeHostReadbackPixelTest
void BeginTest() override {
if (insert_copy_request_after_frame_count_ == 0) {
Layer* const target =
- readback_target_ ? readback_target_ : layer_tree()->root_layer();
+ readback_target_ ? readback_target_ : layer_tree_host()->root_layer();
target->RequestCopyOfOutput(CreateCopyOutputRequest());
}
PostSetNeedsCommitToMainThread();
@@ -99,7 +99,7 @@ class LayerTreeHostReadbackPixelTest
if (insert_copy_request_after_frame_count_ ==
layer_tree_host()->SourceFrameNumber()) {
Layer* const target =
- readback_target_ ? readback_target_ : layer_tree()->root_layer();
+ readback_target_ ? readback_target_ : layer_tree_host()->root_layer();
target->RequestCopyOfOutput(CreateCopyOutputRequest());
}
}
@@ -468,7 +468,7 @@ class LayerTreeHostReadbackDeviceScalePixelTest
}
void SetupTree() override {
- layer_tree()->SetDeviceScaleFactor(device_scale_factor_);
+ layer_tree_host()->SetDeviceScaleFactor(device_scale_factor_);
LayerTreePixelTest::SetupTree();
}
« no previous file with comments | « cc/trees/layer_tree_host_pixeltest_filters.cc ('k') | cc/trees/layer_tree_host_pixeltest_scrollbars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698