Chromium Code Reviews| 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..1ab229e43d426e70f6e9d87f8c114e13f3616e73 100644 |
| --- a/Source/bindings/core/v8/Iterable.h |
| +++ b/Source/bindings/core/v8/Iterable.h |
| @@ -97,12 +97,14 @@ private: |
| { |
| return key; |
| } |
| + STATIC_ONLY(KeySelector); |
|
haraken
2015/08/12 07:56:12
Ditto.
tasak
2015/08/12 09:13:26
Done.
|
| }; |
| struct ValueSelector { |
| static const ValueType& select(ScriptState*, const KeyType& key, const ValueType& value) |
| { |
| return value; |
| } |
| + STATIC_ONLY(ValueSelector); |
| }; |
| struct EntrySelector { |
| static Vector<ScriptValue, 2> select(ScriptState* scriptState, const KeyType& key, const ValueType& value) |
| @@ -115,6 +117,7 @@ private: |
| entry.append(ScriptValue(scriptState, toV8(value, creationContext, isolate))); |
| return entry; |
| } |
| + STATIC_ONLY(EntrySelector); |
| }; |
| template <typename Selector> |