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

Unified Diff: cc/layers/layer_unittest.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/layers/layer_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index b29bfec72f4fb590f7da5481f370bbba57ab794b..467cc762414077c6483615d677767d4fee5534fd 100644
--- a/cc/layers/layer_unittest.cc
+++ b/cc/layers/layer_unittest.cc
@@ -134,7 +134,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);
@@ -378,7 +378,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,

Powered by Google App Engine
This is Rietveld 408576698