Chromium Code Reviews| Index: cc/layers/picture_layer.h |
| diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h |
| index 7eb87f082035b2960c0418bfed481ada717207be..562ba322e2d9b6feec74d97db5ad4f9b0a69939a 100644 |
| --- a/cc/layers/picture_layer.h |
| +++ b/cc/layers/picture_layer.h |
| @@ -52,10 +52,18 @@ class CC_EXPORT PictureLayer : public Layer { |
| ~PictureLayer() override; |
| bool HasDrawableContent() const override; |
| + void SetTypeForProtoSerialization(proto::LayerNode* proto) const override; |
|
David Trainor- moved to gerrit
2015/12/16 19:10:59
Forgot this... added unit tests to check this too.
|
| + 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:: |