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

Unified Diff: cc/layers/layer.cc

Issue 1527863002: Serialize PictureLayer properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 years 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.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 41fdd00fe587e37b4c18f8eceacf508a1ee15370..ccb9ccb24ba7a0f39139c3dea63cb48461d2a6fc 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -1358,7 +1358,7 @@ void Layer::PushPropertiesTo(LayerImpl* layer) {
}
void Layer::SetTypeForProtoSerialization(proto::LayerNode* proto) const {
- proto->set_type(proto::LayerType::Base);
+ proto->set_type(proto::LayerType::LAYER);
}
void Layer::ToLayerNodeProto(proto::LayerNode* proto) const {

Powered by Google App Engine
This is Rietveld 408576698