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

Unified Diff: Source/core/fetch/SubstituteData.h

Issue 1310643003: Make classes and structures in core/events and core/fetch fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« Source/core/events/EventTarget.h ('K') | « Source/core/fetch/ResourcePtr.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/SubstituteData.h
diff --git a/Source/core/fetch/SubstituteData.h b/Source/core/fetch/SubstituteData.h
index f5477cd156c8bde02f8a9056cf70e6bf9765b935..43f98ae78643dfa9a3d206377184b12be95441ea 100644
--- a/Source/core/fetch/SubstituteData.h
+++ b/Source/core/fetch/SubstituteData.h
@@ -28,6 +28,7 @@
#include "platform/SharedBuffer.h"
#include "platform/weborigin/KURL.h"
+#include "wtf/Allocator.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -39,6 +40,7 @@ enum SubstituteDataLoadPolicy {
};
class SubstituteData {
+ DISALLOW_ALLOCATION();
public:
SubstituteData()
: m_substituteDataLoadPolicy(LoadNormally)
« Source/core/events/EventTarget.h ('K') | « Source/core/fetch/ResourcePtr.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698