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

Unified Diff: third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.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/fetch/DataConsumerHandleTestUtil.h
diff --git a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
index 315e465562804ee689d0dfc439fc833dfd6b43be..9ec29d5b261cbf182175e826f4780679a31da35a 100644
--- a/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
+++ b/third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.h
@@ -37,7 +37,7 @@ class DataConsumerHandleTestUtil {
STATIC_ONLY(DataConsumerHandleTestUtil);
public:
class NoopClient final : public WebDataConsumerHandle::Client {
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
public:
void didGetReadable() override { }
};
@@ -157,7 +157,7 @@ public:
// The reading/updating threads are alive while ThreadHolder is alive.
class ThreadHolder {
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
public:
ThreadHolder(ThreadingTestBase* test)
: m_context(test->m_context)
@@ -362,7 +362,7 @@ public:
};
class Command final {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
enum Name {
Data,

Powered by Google App Engine
This is Rietveld 408576698