Index: Source/bindings/core/v8/Dictionary.h |
diff --git a/Source/bindings/core/v8/Dictionary.h b/Source/bindings/core/v8/Dictionary.h |
index ab4e174e7117b600afd006c46bf0bc40d50e42f9..015c1d4fbfa7207a0531b391e50a53892b933f69 100644 |
--- a/Source/bindings/core/v8/Dictionary.h |
+++ b/Source/bindings/core/v8/Dictionary.h |
@@ -46,6 +46,7 @@ namespace blink { |
// from a V8 object. Instances of this class must not outlive V8's handle scope |
// because they hold a V8 value without putting it on persistent handles. |
class CORE_EXPORT Dictionary final { |
+ ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
Dictionary(); |
Dictionary(const v8::Local<v8::Value>& options, v8::Isolate*, ExceptionState&); |
@@ -110,6 +111,7 @@ struct DictionaryHelper { |
} |
template <template <typename> class PointerType, typename T> |
static bool get(const Dictionary&, const String& key, PointerType<T>& value); |
+ STATIC_ONLY(DictionaryHelper); |
haraken
2015/08/12 07:56:12
Can we move this to the top of the class/struct de
tasak
2015/08/12 09:13:26
Done.
|
}; |
} |