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

Unified Diff: Source/core/loader/FormSubmission.h

Issue 1304043006: Make classes and structures in core/loader 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
Index: Source/core/loader/FormSubmission.h
diff --git a/Source/core/loader/FormSubmission.h b/Source/core/loader/FormSubmission.h
index ec7cc8f3b4a19d912c72cdd960660ddb42393e6f..a9b4a275f3aff4f64050bf603ef1039832ac0398 100644
--- a/Source/core/loader/FormSubmission.h
+++ b/Source/core/loader/FormSubmission.h
@@ -34,6 +34,7 @@
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/Referrer.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -47,6 +48,7 @@ public:
enum Method { GetMethod, PostMethod, DialogMethod };
class Attributes {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(Attributes);
public:
Attributes()

Powered by Google App Engine
This is Rietveld 408576698