| Index: Source/core/css/CSSVariablesMap.h
|
| diff --git a/Source/core/css/CSSVariablesMap.h b/Source/core/css/CSSVariablesMap.h
|
| index 8f1ef889ba9453f2044a89116d33e7293acbcc6e..ba8ec2b19b30fd7b44cde3a67a70543038c34e37 100644
|
| --- a/Source/core/css/CSSVariablesMap.h
|
| +++ b/Source/core/css/CSSVariablesMap.h
|
| @@ -52,8 +52,8 @@ public:
|
| void set(const AtomicString& name, const String& value, ExceptionState&);
|
| bool remove(const AtomicString& name);
|
| void clear(ExceptionState&);
|
| - void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue& thisArg) const;
|
| - void forEach(PassRefPtr<CSSVariablesMapForEachCallback>) const;
|
| + void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>, ScriptValue& thisArg) const;
|
| + void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>) const;
|
|
|
| void clearStyleDeclaration() { m_styleDeclaration = 0; }
|
|
|
| @@ -64,7 +64,7 @@ private:
|
| ASSERT(RuntimeEnabledFeatures::cssVariablesEnabled());
|
| }
|
|
|
| - void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisArg) const;
|
| + void forEach(PassOwnPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisArg) const;
|
|
|
| CSSStyleDeclaration* m_styleDeclaration;
|
| typedef Vector<CSSVariablesIterator*> Iterators;
|
|
|