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

Unified Diff: Source/modules/fetch/FetchDataConsumerHandle.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
« no previous file with comments | « Source/modules/fetch/DataConsumerTee.h ('k') | Source/modules/fetch/FetchManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/FetchDataConsumerHandle.h
diff --git a/Source/modules/fetch/FetchDataConsumerHandle.h b/Source/modules/fetch/FetchDataConsumerHandle.h
index d5da177d7e9283753fadb13a5e09d114fe88409b..1169766db78942b4a138b4c3f0c33de250d13d12 100644
--- a/Source/modules/fetch/FetchDataConsumerHandle.h
+++ b/Source/modules/fetch/FetchDataConsumerHandle.h
@@ -21,8 +21,10 @@ namespace blink {
// to create a reference cycle. When an client is garbage collected, making
// the client own the handle is the right way.
class MODULES_EXPORT FetchDataConsumerHandle : public WebDataConsumerHandle {
+ WTF_MAKE_FAST_ALLOCATED(FetchDataConsumerHandle);
public:
class Reader : public WebDataConsumerHandle::Reader {
+ WTF_MAKE_FAST_ALLOCATED(Reader);
public:
enum BlobSizePolicy {
// The returned blob must have a valid size (i.e. != kuint64max).
« no previous file with comments | « Source/modules/fetch/DataConsumerTee.h ('k') | Source/modules/fetch/FetchManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698