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

Unified Diff: Source/modules/mediasource/HTMLVideoElementMediaSource.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/HTMLVideoElementMediaSource.h
diff --git a/Source/modules/mediasource/HTMLVideoElementMediaSource.h b/Source/modules/mediasource/HTMLVideoElementMediaSource.h
index 0dd929b079d16846a64e5d3bb18af70a7dbc70f0..f6602a51f2f59cbee6feacc3702a2317387842d7 100644
--- a/Source/modules/mediasource/HTMLVideoElementMediaSource.h
+++ b/Source/modules/mediasource/HTMLVideoElementMediaSource.h
@@ -32,7 +32,7 @@
#define HTMLVideoElementMediaSource_h
#include "platform/heap/Handle.h"
-#include "wtf/PassRefPtr.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -40,12 +40,9 @@ class HTMLVideoElement;
class VideoPlaybackQuality;
class HTMLVideoElementMediaSource {
+ STATIC_ONLY(HTMLVideoElementMediaSource);
public:
static VideoPlaybackQuality* getVideoPlaybackQuality(HTMLVideoElement&);
-
-private:
- HTMLVideoElementMediaSource();
- ~HTMLVideoElementMediaSource();
};
}
« no previous file with comments | « Source/modules/mediasession/HTMLMediaElementMediaSession.h ('k') | Source/modules/mediasource/HTMLVideoElementMediaSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698