Index: Source/bindings/core/v8/Iterable.h |
diff --git a/Source/bindings/core/v8/Iterable.h b/Source/bindings/core/v8/Iterable.h |
index 75adecc53b3241c160a32d5db1e589711e3a0bba..e91c67b5c875dd335a6aefdc872111defc0e64e9 100644 |
--- a/Source/bindings/core/v8/Iterable.h |
+++ b/Source/bindings/core/v8/Iterable.h |
@@ -93,18 +93,21 @@ private: |
virtual IterationSource* startIteration(ScriptState*, ExceptionState&) = 0; |
struct KeySelector { |
+ STATIC_ONLY(KeySelector); |
static const KeyType& select(ScriptState*, const KeyType& key, const ValueType& value) |
{ |
return key; |
} |
}; |
struct ValueSelector { |
+ STATIC_ONLY(ValueSelector); |
static const ValueType& select(ScriptState*, const KeyType& key, const ValueType& value) |
{ |
return value; |
} |
}; |
struct EntrySelector { |
+ STATIC_ONLY(EntrySelector); |
static Vector<ScriptValue, 2> select(ScriptState* scriptState, const KeyType& key, const ValueType& value) |
{ |
v8::Local<v8::Object> creationContext = scriptState->context()->Global(); |