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

Unified Diff: Source/core/streams/ReadableStreamImpl.h

Issue 1308633005: Make classes and structures in core/style, core/plugins and core/streams 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/streams/ReadableStreamImpl.h
diff --git a/Source/core/streams/ReadableStreamImpl.h b/Source/core/streams/ReadableStreamImpl.h
index 27ee8ce5de6082de5f5ac03a844e1ce77a46e360..22855a54f58c124a36ac294fbc4d2cc6c1099de9 100644
--- a/Source/core/streams/ReadableStreamImpl.h
+++ b/Source/core/streams/ReadableStreamImpl.h
@@ -26,7 +26,9 @@ namespace blink {
// We define the default ChunkTypeTraits for frequently used types.
template<typename ChunkType>
-class ReadableStreamChunkTypeTraits { };
+class ReadableStreamChunkTypeTraits {
+ STATIC_ONLY(ReadableStreamChunkTypeTraits);
+};
template<>
class ReadableStreamChunkTypeTraits<String> {
« no previous file with comments | « Source/core/plugins/testing/DocumentFragmentPluginPlaceholder.h ('k') | Source/core/style/AppliedTextDecoration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698