| Index: third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
|
| index 6b3bffbad6e91e2cb6e5e3e7f2a74c367a479789..1eb606082eebef25b6091aa0faff1ebc7b9a4b12 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
|
| +++ b/third_party/WebKit/Source/core/css/cssom/StylePropertyMap.h
|
| @@ -20,15 +20,16 @@ class CORE_EXPORT StylePropertyMap : public GarbageCollectedFinalized<StylePrope
|
| WTF_MAKE_NONCOPYABLE(StylePropertyMap);
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| + typedef HeapVector<Member<StyleValue>> StyleValueVector;
|
| +
|
| virtual ~StylePropertyMap() { }
|
|
|
| // Accessors.
|
| StyleValue* get(const String& propertyName, ExceptionState&);
|
| - HeapVector<Member<StyleValue>> getAll(const String& propertyName, ExceptionState&);
|
| + StyleValueVector getAll(const String& propertyName, ExceptionState&);
|
| bool has(const String& propertyName, ExceptionState&);
|
|
|
| - virtual StyleValue* get(CSSPropertyID) = 0;
|
| - virtual HeapVector<Member<StyleValue>> getAll(CSSPropertyID) = 0;
|
| + virtual StyleValueVector getAll(CSSPropertyID) = 0;
|
| virtual bool has(CSSPropertyID) = 0;
|
|
|
| virtual Vector<String> getProperties() = 0;
|
| @@ -48,6 +49,7 @@ protected:
|
| StylePropertyMap() { }
|
|
|
| IterationSource* startIteration(ScriptState*, ExceptionState&) override { return nullptr; }
|
| + StyleValueVector cssValueToStyleValueVector(CSSPropertyID, const CSSValue&);
|
| };
|
|
|
| } // namespace blink
|
|
|