Index: cc/layers/picture_layer.h |
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h |
index 7f1345e76d9d529b32aa0b93ccfd579be088ffb6..b7e7152380205d956f7ce353b2d8582ce1607459 100644 |
--- a/cc/layers/picture_layer.h |
+++ b/cc/layers/picture_layer.h |
@@ -53,10 +53,18 @@ class CC_EXPORT PictureLayer : public Layer { |
~PictureLayer() override; |
bool HasDrawableContent() const override; |
+ void SetTypeForProtoSerialization(proto::LayerNode* proto) const override; |
+ void LayerSpecificPropertiesToProto(proto::LayerProperties* proto) override; |
+ void FromLayerSpecificPropertiesProto( |
+ const proto::LayerProperties& proto) override; |
bool is_mask() const { return is_mask_; } |
private: |
+ friend class TestSerializationPictureLayer; |
+ |
+ void DropRecordingSourceContentIfInvalid(); |
+ |
ContentLayerClient* client_; |
scoped_ptr<DisplayListRecordingSource> recording_source_; |
devtools_instrumentation:: |