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

Unified Diff: cc/trees/layer_tree_host_unittest_serialization.cc

Issue 1986883002: blimp: Update page load status update indicator to use first paint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 4 years, 7 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.cc ('k') | cc/trees/remote_channel_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 7d989d66fa269242819fa4c3679840db58d2d799..b1beece79ddaef92747109a18d3ef0c57afa4a69 100644
--- a/cc/trees/layer_tree_host_unittest_serialization.cc
+++ b/cc/trees/layer_tree_host_unittest_serialization.cc
@@ -58,7 +58,8 @@ class LayerTreeHostSerializationTest : public testing::Test {
std::unordered_set<Layer*> layers_that_should_push_properties_src =
layer_tree_host_src_->LayersThatShouldPushProperties();
- layer_tree_host_src_->ToProtobufForCommit(&proto);
+ std::vector<std::unique_ptr<SwapPromise>> swap_promises;
+ layer_tree_host_src_->ToProtobufForCommit(&proto, &swap_promises);
layer_tree_host_dst_->FromProtobufForCommit(proto);
EXPECT_EQ(layer_tree_host_src_->needs_full_tree_sync_,
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/remote_channel_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698