Chromium Code Reviews| Index: Source/core/css/CSSVariablesMap.h |
| diff --git a/Source/core/css/CSSVariablesMap.h b/Source/core/css/CSSVariablesMap.h |
| index 5c236953923220715d8ce5c7385611094001fd59..7e729bf4a5940a4330453ae5ceaf78cf394a5429 100644 |
| --- a/Source/core/css/CSSVariablesMap.h |
| +++ b/Source/core/css/CSSVariablesMap.h |
| @@ -29,6 +29,7 @@ |
| #define CSSVariablesMap_h |
| #include "RuntimeEnabledFeatures.h" |
| +#include "core/css/CSSVariablesMapForEachCallback.h" |
| #include "wtf/RefCounted.h" |
| #include "wtf/text/WTFString.h" |
| @@ -52,6 +53,9 @@ public: |
| void set(const AtomicString& name, const String& value, ExceptionState&) const; |
| bool remove(const AtomicString& name) const; |
| void clear(ExceptionState&) const; |
| + void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue* thisArg) const; |
| + void forEach(PassRefPtr<CSSVariablesMapForEachCallback>, ScriptValue thisArg) const; |
|
esprehn
2013/09/12 01:13:42
When do we pass a ScriptValue by value instead of
alancutter (OOO until 2018)
2013/09/13 03:06:14
Made pointer overload private.
Changed copy parame
|
| + void forEach(PassRefPtr<CSSVariablesMapForEachCallback>) const; |
| void clearStyleDeclaration() { m_styleDeclaration = 0; } |