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

Unified Diff: cc/test/layer_tree_test.cc

Issue 2314933004: cc/blimp: Remove the LayerTreeSettings 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
« no previous file with comments | « cc/proto/layer_tree_settings.proto ('k') | cc/trees/layer_tree_settings.cc » ('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 6bd79e5615247fe68e7d235710cbe98ad870e630..59b68e01d9254241cf0a1feb2de7150160b0ee61 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -904,9 +904,7 @@ void LayerTreeTest::CreateRemoteClientHost(
DCHECK(proto.message_type() ==
proto::CompositorMessageToImpl::INITIALIZE_IMPL);
- proto::InitializeImpl initialize_proto = proto.initialize_impl_message();
- LayerTreeSettings settings;
- settings.FromProtobuf(initialize_proto.layer_tree_settings());
+ LayerTreeSettings settings = settings_;
settings.abort_commit_before_output_surface_creation = false;
remote_client_layer_tree_host_ = LayerTreeHostForTesting::Create(
this, mode_, client_.get(), &remote_proto_channel_bridge_.channel_impl,
« no previous file with comments | « cc/proto/layer_tree_settings.proto ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698