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

Unified Diff: cc/trees/layer_tree_host_unittest_serialization.cc

Issue 2375363002: cc/blimp: Set up the framework for state serialization. (Closed)
Patch Set: Created 4 years, 3 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_unittest_serialization.cc
diff --git a/cc/trees/layer_tree_host_unittest_serialization.cc b/cc/trees/layer_tree_host_unittest_serialization.cc
index e530074dd47fb8361f387bc0751456e011abe9e1..cd2e15185db8a2584e7309611ca0bd624982a40c 100644
--- a/cc/trees/layer_tree_host_unittest_serialization.cc
+++ b/cc/trees/layer_tree_host_unittest_serialization.cc
@@ -126,12 +126,6 @@ class LayerTreeHostSerializationTest : public testing::Test {
layer_tree_host_dst_->debug_state_.show_replica_screen_space_rects);
EXPECT_EQ(layer_tree_src->inputs_.device_viewport_size,
layer_tree_dst->inputs_.device_viewport_size);
- EXPECT_EQ(layer_tree_src->inputs_.top_controls_shrink_blink_size,
- layer_tree_dst->inputs_.top_controls_shrink_blink_size);
- EXPECT_EQ(layer_tree_src->inputs_.top_controls_height,
- layer_tree_dst->inputs_.top_controls_height);
- EXPECT_EQ(layer_tree_src->inputs_.top_controls_shown_ratio,
- layer_tree_dst->inputs_.top_controls_shown_ratio);
EXPECT_EQ(layer_tree_src->inputs_.device_scale_factor,
layer_tree_dst->inputs_.device_scale_factor);
EXPECT_EQ(layer_tree_src->inputs_.painted_device_scale_factor,
@@ -238,12 +232,6 @@ class LayerTreeHostSerializationTest : public testing::Test {
layer_tree_host_src_->debug_state_.show_replica_screen_space_rects =
!layer_tree_host_src_->debug_state_.show_replica_screen_space_rects;
layer_tree_src->inputs_.device_viewport_size = gfx::Size(3, 14);
- layer_tree_src->inputs_.top_controls_shrink_blink_size =
- !layer_tree_src->inputs_.top_controls_shrink_blink_size;
- layer_tree_src->inputs_.top_controls_height =
- layer_tree_src->inputs_.top_controls_height * 3 + 1;
- layer_tree_src->inputs_.top_controls_shown_ratio =
- layer_tree_src->inputs_.top_controls_shown_ratio * 3 + 1;
layer_tree_src->inputs_.device_scale_factor =
layer_tree_src->inputs_.device_scale_factor * 3 + 1;
layer_tree_src->inputs_.painted_device_scale_factor =
« cc/blimp/layer_tree_host_remote.cc ('K') | « cc/trees/layer_tree_host_in_process.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698