Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(783)

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
index f08079f01b92d089bafe11b9898a919b3249b65a..9f7e5e826b37ec2e7c95566f02e9ea26a396346f 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h
@@ -39,7 +39,7 @@
namespace blink {
struct IDBIndexMetadata {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
IDBIndexMetadata() { }
IDBIndexMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool unique, bool multiEntry)
: name(name)
@@ -57,7 +57,7 @@ struct IDBIndexMetadata {
};
struct IDBObjectStoreMetadata {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
IDBObjectStoreMetadata() { }
IDBObjectStoreMetadata(const String& name, int64_t id, const IDBKeyPath& keyPath, bool autoIncrement, int64_t maxIndexId)
: name(name)
@@ -80,7 +80,7 @@ struct IDBObjectStoreMetadata {
};
struct IDBDatabaseMetadata {
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
// FIXME: These can probably be collapsed into 0.
enum {
NoIntVersion = -1,

Powered by Google App Engine
This is Rietveld 408576698