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

Unified Diff: cc/layers/layer_unittest.cc

Issue 2375363002: cc/blimp: Set up the framework for state serialization. (Closed)
Patch Set: test update Created 4 years, 2 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/layers/layer_proto_converter_unittest.cc ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index c775ebd9d8014e10a4c3be0ce8585f5732f2fe62..11d6facce8d015defc9d3e61b7d15aa59541b82e 100644
--- a/cc/layers/layer_unittest.cc
+++ b/cc/layers/layer_unittest.cc
@@ -117,7 +117,7 @@ class LayerSerializationTest : public testing::Test {
// LayerUpdate. There are no descendants, so the serialization
// of |src| is the only entry.
proto::LayerUpdate layer_update;
- src->ToLayerPropertiesProto(&layer_update);
+ src->ToLayerPropertiesProto(&layer_update, false);
ASSERT_EQ(1, layer_update.layers_size());
proto::LayerProperties props = layer_update.layers(0);
@@ -361,7 +361,8 @@ class LayerSerializationTest : public testing::Test {
void VerifySolidColorScrollbarLayerAfterSerializationAndDeserialization(
scoped_refptr<SolidColorScrollbarLayer> source_scrollbar) {
proto::LayerProperties serialized_scrollbar;
- source_scrollbar->LayerSpecificPropertiesToProto(&serialized_scrollbar);
+ source_scrollbar->LayerSpecificPropertiesToProto(&serialized_scrollbar,
+ false);
scoped_refptr<SolidColorScrollbarLayer> deserialized_scrollbar =
SolidColorScrollbarLayer::Create(ScrollbarOrientation::HORIZONTAL, -1,
« no previous file with comments | « cc/layers/layer_proto_converter_unittest.cc ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698