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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.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/bindings/tests/results/core/UnionTypesCore.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h b/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h
index c293dad79c6482701e45c5a694b68d5eaa019394..bd4d095c4be895c4af430e10960ddefc956dd000 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/UnionTypesCore.h
@@ -28,7 +28,7 @@ class TestInterfaceImplementation;
class TestInterfaceWillBeGarbageCollected;
class CORE_EXPORT ArrayBufferOrArrayBufferViewOrDictionary final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
ArrayBufferOrArrayBufferViewOrDictionary();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -88,7 +88,7 @@ struct NativeValueTraits<ArrayBufferOrArrayBufferViewOrDictionary> {
};
class CORE_EXPORT BooleanOrStringOrUnrestrictedDouble final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
BooleanOrStringOrUnrestrictedDouble();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -148,7 +148,7 @@ struct NativeValueTraits<BooleanOrStringOrUnrestrictedDouble> {
};
class CORE_EXPORT DoubleOrString final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
DoubleOrString();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -201,7 +201,7 @@ struct NativeValueTraits<DoubleOrString> {
};
class CORE_EXPORT LongOrTestDictionary final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
LongOrTestDictionary();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -254,7 +254,7 @@ struct NativeValueTraits<LongOrTestDictionary> {
};
class CORE_EXPORT NodeOrNodeList final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
NodeOrNodeList();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -307,7 +307,7 @@ struct NativeValueTraits<NodeOrNodeList> {
};
class CORE_EXPORT StringOrArrayBufferOrArrayBufferView final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
StringOrArrayBufferOrArrayBufferView();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -367,7 +367,7 @@ struct NativeValueTraits<StringOrArrayBufferOrArrayBufferView> {
};
class CORE_EXPORT StringOrDouble final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
StringOrDouble();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -420,7 +420,7 @@ struct NativeValueTraits<StringOrDouble> {
};
class CORE_EXPORT StringOrStringSequence final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
StringOrStringSequence();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -473,7 +473,7 @@ struct NativeValueTraits<StringOrStringSequence> {
};
class CORE_EXPORT TestEnumOrDouble final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
TestEnumOrDouble();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -526,7 +526,7 @@ struct NativeValueTraits<TestEnumOrDouble> {
};
class CORE_EXPORT TestInterface2OrUint8Array final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
TestInterface2OrUint8Array();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -579,7 +579,7 @@ struct NativeValueTraits<TestInterface2OrUint8Array> {
};
class CORE_EXPORT TestInterfaceGarbageCollectedOrString final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
TestInterfaceGarbageCollectedOrString();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -632,7 +632,7 @@ struct NativeValueTraits<TestInterfaceGarbageCollectedOrString> {
};
class CORE_EXPORT TestInterfaceOrLong final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
TestInterfaceOrLong();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -685,7 +685,7 @@ struct NativeValueTraits<TestInterfaceOrLong> {
};
class CORE_EXPORT TestInterfaceOrTestInterfaceEmpty final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
TestInterfaceOrTestInterfaceEmpty();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -738,7 +738,7 @@ struct NativeValueTraits<TestInterfaceOrTestInterfaceEmpty> {
};
class CORE_EXPORT TestInterfaceWillBeGarbageCollectedOrTestDictionary final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
TestInterfaceWillBeGarbageCollectedOrTestDictionary();
bool isNull() const { return m_type == SpecificTypeNone; }
@@ -791,7 +791,7 @@ struct NativeValueTraits<TestInterfaceWillBeGarbageCollectedOrTestDictionary> {
};
class CORE_EXPORT UnrestrictedDoubleOrString final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
UnrestrictedDoubleOrString();
bool isNull() const { return m_type == SpecificTypeNone; }

Powered by Google App Engine
This is Rietveld 408576698