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

Unified Diff: cc/test/test_layer_tree_host_base.cc

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Rebase to master@{#429656}. Created 4 years, 1 month 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/fake_layer_tree_host_impl.cc ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_layer_tree_host_base.cc
diff --git a/cc/test/test_layer_tree_host_base.cc b/cc/test/test_layer_tree_host_base.cc
index 80aacc4c288a78c5bf956cd96782fe22d31f4b6d..c47672bba003875564277511a7b8022e9cdc869f 100644
--- a/cc/test/test_layer_tree_host_base.cc
+++ b/cc/test/test_layer_tree_host_base.cc
@@ -97,7 +97,7 @@ void TestLayerTreeHostBase::SetupPendingTree(
const gfx::Size& tile_size,
const Region& invalidation) {
host_impl()->CreatePendingTree();
- host_impl()->pending_tree()->PushPageScaleFromMainThread(1.f, 0.00001f,
+ host_impl()->pending_tree()->PushPageScaleFromMainThread(1.f, 1.f, 0.00001f,
100000.f);
LayerTreeImpl* pending_tree = host_impl()->pending_tree();
pending_tree->SetDeviceScaleFactor(
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.cc ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698