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

Unified Diff: cc/trees/layer_tree_host_pixeltest_readback.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/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 3466a633add64b65627c2d24309e71502e911f4e..11d4914b659e68f99b5cd8922a52c17ea2152a5d 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_host()->root_layer();
+ readback_target_ ? readback_target_ : layer_tree()->root_layer();
target->RequestCopyOfOutput(CreateCopyOutputRequest());
}
PostSetNeedsCommitToMainThread();
@@ -99,7 +99,7 @@ class LayerTreeHostReadbackPixelTest
if (insert_copy_request_after_frame_count_ ==
layer_tree_host()->source_frame_number()) {
Layer* const target =
- readback_target_ ? readback_target_ : layer_tree_host()->root_layer();
+ readback_target_ ? readback_target_ : layer_tree()->root_layer();
target->RequestCopyOfOutput(CreateCopyOutputRequest());
}
}
@@ -468,7 +468,7 @@ class LayerTreeHostReadbackDeviceScalePixelTest
}
void SetupTree() override {
- layer_tree_host()->SetDeviceScaleFactor(device_scale_factor_);
+ layer_tree()->SetDeviceScaleFactor(device_scale_factor_);
LayerTreePixelTest::SetupTree();
}

Powered by Google App Engine
This is Rietveld 408576698