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

Unified Diff: Source/modules/encryptedmedia/EncryptedMediaUtils.h

Issue 1315743003: [part 1] 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/encryptedmedia/EncryptedMediaUtils.h
diff --git a/Source/modules/encryptedmedia/EncryptedMediaUtils.h b/Source/modules/encryptedmedia/EncryptedMediaUtils.h
index fb7cbad1e690cec213184a496a8a9f06632754f4..64dc3369418f8279122c2c0057b127fe623312be 100644
--- a/Source/modules/encryptedmedia/EncryptedMediaUtils.h
+++ b/Source/modules/encryptedmedia/EncryptedMediaUtils.h
@@ -6,20 +6,19 @@
#define EncryptedMediaUtils_h
#include "public/platform/WebEncryptedMediaTypes.h"
+#include "wtf/Allocator.h"
#include "wtf/text/WTFString.h"
namespace blink {
class EncryptedMediaUtils {
+ STATIC_ONLY(EncryptedMediaUtils);
public:
static WebEncryptedMediaInitDataType convertToInitDataType(const String& initDataType);
static String convertFromInitDataType(WebEncryptedMediaInitDataType);
static WebEncryptedMediaSessionType convertToSessionType(const String& sessionType);
static String convertFromSessionType(WebEncryptedMediaSessionType);
-
-private:
- EncryptedMediaUtils();
};
} // namespace blink
« no previous file with comments | « Source/modules/crypto/WorkerGlobalScopeCrypto.h ('k') | Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698