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

Unified Diff: Source/modules/fetch/CompositeDataConsumerHandle.h

Issue 1315743003: [part 1] Make classes and structures in modules/ fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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: Source/modules/fetch/CompositeDataConsumerHandle.h
diff --git a/Source/modules/fetch/CompositeDataConsumerHandle.h b/Source/modules/fetch/CompositeDataConsumerHandle.h
index be6a2e4c358dcbc19c3402c5c38608018a4a733f..94d05dc048a439c7866b3093cb38c8ec9fb4cd1c 100644
--- a/Source/modules/fetch/CompositeDataConsumerHandle.h
+++ b/Source/modules/fetch/CompositeDataConsumerHandle.h
@@ -8,6 +8,7 @@
#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebDataConsumerHandle.h"
+#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
@@ -21,6 +22,7 @@ class WebThread;
// the handle by using |update| method.
class MODULES_EXPORT CompositeDataConsumerHandle final : public WebDataConsumerHandle {
WTF_MAKE_NONCOPYABLE(CompositeDataConsumerHandle);
+ WTF_MAKE_FAST_ALLOCATED(CompositeDataConsumerHandle);
class Context;
public:
// An Updater is bound to the creator thread.

Powered by Google App Engine
This is Rietveld 408576698