| Index: Source/modules/indexeddb/IDBMetadata.h
|
| diff --git a/Source/modules/indexeddb/IDBMetadata.h b/Source/modules/indexeddb/IDBMetadata.h
|
| index 2a22792f53fda9bb0c66547752d0afb81f2f958f..f08079f01b92d089bafe11b9898a919b3249b65a 100644
|
| --- a/Source/modules/indexeddb/IDBMetadata.h
|
| +++ b/Source/modules/indexeddb/IDBMetadata.h
|
| @@ -31,6 +31,7 @@
|
|
|
| #include "modules/indexeddb/IDBKeyPath.h"
|
| #include "public/platform/modules/indexeddb/WebIDBMetadata.h"
|
| +#include "wtf/Allocator.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/text/StringHash.h"
|
| #include "wtf/text/WTFString.h"
|
| @@ -38,6 +39,7 @@
|
| namespace blink {
|
|
|
| struct IDBIndexMetadata {
|
| + ALLOW_ONLY_INLINE_ALLOCATION();
|
| IDBIndexMetadata() { }
|
| IDBIndexMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool unique, bool multiEntry)
|
| : name(name)
|
| @@ -55,6 +57,7 @@ struct IDBIndexMetadata {
|
| };
|
|
|
| struct IDBObjectStoreMetadata {
|
| + ALLOW_ONLY_INLINE_ALLOCATION();
|
| IDBObjectStoreMetadata() { }
|
| IDBObjectStoreMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool autoIncrement, int64_t maxIndexId)
|
| : name(name)
|
| @@ -77,6 +80,7 @@ struct IDBObjectStoreMetadata {
|
| };
|
|
|
| struct IDBDatabaseMetadata {
|
| + DISALLOW_ALLOCATION();
|
| // FIXME: These can probably be collapsed into 0.
|
| enum {
|
| NoIntVersion = -1,
|
|
|