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

Unified Diff: Source/core/loader/TextResourceDecoderBuilder.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/TextResourceDecoderBuilder.h
diff --git a/Source/core/loader/TextResourceDecoderBuilder.h b/Source/core/loader/TextResourceDecoderBuilder.h
index c77fa4032e1b1aac996133cc2539c35e602b39af..47dae34eab3e2869d8892ce826be3319bdbe5b0e 100644
--- a/Source/core/loader/TextResourceDecoderBuilder.h
+++ b/Source/core/loader/TextResourceDecoderBuilder.h
@@ -32,6 +32,7 @@
#define TextResourceDecoderBuilder_h
#include "core/html/parser/TextResourceDecoder.h"
+#include "wtf/Allocator.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
@@ -41,6 +42,7 @@ class Document;
class TextResourceDecoder;
class TextResourceDecoderBuilder {
+ DISALLOW_ALLOCATION();
public:
TextResourceDecoderBuilder(const AtomicString& mimeType, const AtomicString& encoding);
~TextResourceDecoderBuilder();

Powered by Google App Engine
This is Rietveld 408576698