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

Unified Diff: cc/test/layer_tree_test.cc

Issue 13637017: Delete layout_viewport_size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android Created 7 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/layers/tiled_layer_unittest.cc ('k') | cc/trees/layer_tree_host.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 f1bad56e34af62669b879c798e6555468e205843..61c9a04bfbe56c0f202c041b2b5a33b90ba19bdd 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -421,7 +421,7 @@ void LayerTreeTest::SetupTree() {
gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds();
gfx::Size device_root_bounds = gfx::ToCeiledSize(
gfx::ScaleSize(root_bounds, layer_tree_host_->device_scale_factor()));
- layer_tree_host_->SetViewportSize(root_bounds, device_root_bounds);
+ layer_tree_host_->SetViewportSize(device_root_bounds);
}
void LayerTreeTest::Timeout() {
« no previous file with comments | « cc/layers/tiled_layer_unittest.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698