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

Unified Diff: cc/test/layer_tree_pixel_test.cc

Issue 2795963002: cc: Reduce surface contents scale adjustments. (Closed)
Patch Set: apply scale for copy requests Created 3 years, 8 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_pixel_test.h ('k') | cc/trees/draw_property_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_test.cc
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
index b59c54d0b29cac5aaee2a6e3c8789b01bb367131..6298b786f1408d51c28d6ee40e2ccdd14a0bd9a2 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -140,6 +140,10 @@ void LayerTreePixelTest::EndTest() {
TryEndTest();
}
+void LayerTreePixelTest::InitializeSettings(LayerTreeSettings* settings) {
+ settings->layer_transforms_should_scale_layer_contents = true;
+}
+
void LayerTreePixelTest::TryEndTest() {
if (!result_bitmap_)
return;
« no previous file with comments | « cc/test/layer_tree_pixel_test.h ('k') | cc/trees/draw_property_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698