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

Unified Diff: cc/trees/layer_tree_host_unittest_serialization.cc

Issue 2323423002: cc: Add SwapPromiseManager and SurfaceSequenceGenerator. (Closed)
Patch Set: tests 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0d0555ec60be0e48da8f551d17b01ddfe861ae07..416f4a83d4b5135d926101ad4f3c869839ada5f8 100644
--- a/cc/trees/layer_tree_host_unittest_serialization.cc
+++ b/cc/trees/layer_tree_host_unittest_serialization.cc
@@ -209,10 +209,6 @@ class LayerTreeHostSerializationTest : public testing::Test {
EXPECT_EQ(layer_tree_src->inputs_.selection,
layer_tree_dst->inputs_.selection);
EXPECT_EQ(layer_tree_src->property_trees_, layer_tree_dst->property_trees_);
- EXPECT_EQ(layer_tree_host_src_->surface_client_id_,
- layer_tree_host_dst_->surface_client_id_);
- EXPECT_EQ(layer_tree_host_src_->next_surface_sequence_,
- layer_tree_host_dst_->next_surface_sequence_);
// All layers must have a property tree index that matches PropertyTrees.
if (layer_tree_dst->property_trees_.sequence_number) {
@@ -301,11 +297,6 @@ class LayerTreeHostSerializationTest : public testing::Test {
layer_tree_src->property_trees_.sequence_number =
layer_tree_src->property_trees_.sequence_number * 3 + 1;
- layer_tree_host_src_->surface_client_id_ =
- layer_tree_host_src_->surface_client_id_ * 3 + 1;
- layer_tree_host_src_->next_surface_sequence_ =
- layer_tree_host_src_->next_surface_sequence_ * 3 + 1;
-
VerifySerializationAndDeserialization();
}
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698