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

Unified Diff: Source/core/html/parser/PreloadRequest.h

Issue 1306413003: Make classes and structures in core/html 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
« no previous file with comments | « Source/core/html/parser/InputStreamPreprocessor.h ('k') | Source/core/html/parser/TextResourceDecoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/PreloadRequest.h
diff --git a/Source/core/html/parser/PreloadRequest.h b/Source/core/html/parser/PreloadRequest.h
index 0fe232f54589c5ad2d0dc2daf425b431cebd5e46..1fc410dd45adecfdaad90eaa2488853a3b8b0a07 100644
--- a/Source/core/html/parser/PreloadRequest.h
+++ b/Source/core/html/parser/PreloadRequest.h
@@ -9,6 +9,7 @@
#include "core/fetch/FetchRequest.h"
#include "core/fetch/Resource.h"
#include "platform/weborigin/SecurityPolicy.h"
+#include "wtf/Allocator.h"
#include "wtf/text/TextPosition.h"
namespace blink {
@@ -16,6 +17,7 @@ namespace blink {
class Document;
class PreloadRequest {
+ WTF_MAKE_FAST_ALLOCATED(PreloadRequest);
public:
enum RequestType { RequestTypePreload, RequestTypePreconnect };
« no previous file with comments | « Source/core/html/parser/InputStreamPreprocessor.h ('k') | Source/core/html/parser/TextResourceDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698