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..f4253c42c210565872221c56da59d36ffb391083 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&); |
@@ -94,6 +95,7 @@ struct NativeValueTraits<Dictionary> { |
// DictionaryHelper is a collection of static methods for getting or |
// converting a value from Dictionary. |
struct DictionaryHelper { |
+ STATIC_ONLY(DictionaryHelper); |
template <typename T> |
static bool get(const Dictionary&, const String& key, T& value); |
template <typename T> |