| Index: third_party/WebKit/Source/core/css/StylePropertySet.h
|
| diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.h b/third_party/WebKit/Source/core/css/StylePropertySet.h
|
| index 3f900840e7d0a238ebc156477b16972791734cfb..a9523ebf6ea7e62f88116280498178ed74dd17d0 100644
|
| --- a/third_party/WebKit/Source/core/css/StylePropertySet.h
|
| +++ b/third_party/WebKit/Source/core/css/StylePropertySet.h
|
| @@ -35,7 +35,9 @@
|
|
|
| namespace blink {
|
|
|
| +class CSSDeserializeStream;
|
| class CSSStyleDeclaration;
|
| +class CSSSerializeStream;
|
| class ImmutableStylePropertySet;
|
| class MutableStylePropertySet;
|
| class StyleSheetContents;
|
| @@ -125,6 +127,8 @@ public:
|
|
|
| bool hasFailedOrCanceledSubresources() const;
|
|
|
| + void serialize(CSSSerializeStream*) const;
|
| +
|
| static unsigned averageSizeInBytes();
|
|
|
| #ifndef NDEBUG
|
| @@ -163,6 +167,7 @@ class CORE_EXPORT ImmutableStylePropertySet : public StylePropertySet {
|
| public:
|
| ~ImmutableStylePropertySet();
|
| static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> create(const CSSProperty* properties, unsigned count, CSSParserMode);
|
| + static PassRefPtrWillBeRawPtr<ImmutableStylePropertySet> deserialize(CSSDeserializeStream*);
|
|
|
| unsigned propertyCount() const { return m_arraySize; }
|
|
|
| @@ -172,6 +177,8 @@ public:
|
| template<typename T> // CSSPropertyID or AtomicString
|
| int findPropertyIndex(T property) const;
|
|
|
| + void serializeAfterDispatch(CSSSerializeStream*) const;
|
| +
|
| DECLARE_TRACE_AFTER_DISPATCH();
|
|
|
| void* operator new(std::size_t, void* location)
|
| @@ -183,6 +190,7 @@ public:
|
|
|
| private:
|
| ImmutableStylePropertySet(const CSSProperty*, unsigned count, CSSParserMode);
|
| + ImmutableStylePropertySet(CSSDeserializeStream*, unsigned count, CSSParserMode);
|
| };
|
|
|
| inline const RawPtrWillBeMember<CSSValue>* ImmutableStylePropertySet::valueArray() const
|
|
|