Index: cc/layers/picture_layer.h |
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h |
index 7eb87f082035b2960c0418bfed481ada717207be..4b886e872dea749cd0a39860f4f5108120538cdb 100644 |
--- a/cc/layers/picture_layer.h |
+++ b/cc/layers/picture_layer.h |
@@ -15,6 +15,7 @@ namespace cc { |
class ContentLayerClient; |
class DisplayListRecordingSource; |
class ResourceUpdateQueue; |
+class TestSerializationPictureLayer; |
vmpstr
2015/12/16 04:21:08
Does the friend declaration below act as a forward
David Trainor- moved to gerrit
2015/12/16 19:10:58
Done.
|
class CC_EXPORT PictureLayer : public Layer { |
public: |
@@ -52,10 +53,17 @@ class CC_EXPORT PictureLayer : public Layer { |
~PictureLayer() override; |
bool HasDrawableContent() 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 ValidateRecordingSource(); |
+ |
ContentLayerClient* client_; |
scoped_ptr<DisplayListRecordingSource> recording_source_; |
devtools_instrumentation:: |