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

Unified Diff: Source/modules/mediasource/URLMediaSource.h

Issue 1318793005: [part 2] Make classes and structures in modules fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/modules/mediasource/URLMediaSource.h
diff --git a/Source/modules/mediasource/URLMediaSource.h b/Source/modules/mediasource/URLMediaSource.h
index dc9d89ad7c810f84c85a81e258365b76d9cc02dd..301a06fbe41951000f4f48f9376f8a6b64b2e644 100644
--- a/Source/modules/mediasource/URLMediaSource.h
+++ b/Source/modules/mediasource/URLMediaSource.h
@@ -31,6 +31,7 @@
#ifndef URLMediaSource_h
#define URLMediaSource_h
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
namespace blink {
@@ -39,6 +40,7 @@ class MediaSource;
class ExecutionContext;
class URLMediaSource {
+ STATIC_ONLY(URLMediaSource);
public:
static String createObjectURL(ExecutionContext*, MediaSource*);
};
« no previous file with comments | « Source/modules/mediasource/HTMLVideoElementMediaSource.cpp ('k') | Source/modules/mediastream/NavigatorMediaStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698