Rename AtomicString to AtomString
[WebKit-https.git] / Source / WebCore / Modules / encryptedmedia / InitDataRegistry.h
index 054d377..1f7930b 100644 (file)
@@ -33,8 +33,8 @@
 #include <wtf/Ref.h>
 #include <wtf/RefPtr.h>
 #include <wtf/Vector.h>
-#include <wtf/text/AtomicString.h>
-#include <wtf/text/AtomicStringHash.h>
+#include <wtf/text/AtomString.h>
+#include <wtf/text/AtomStringHash.h>
 
 namespace WebCore {
 
@@ -45,8 +45,8 @@ public:
     WEBCORE_EXPORT static InitDataRegistry& shared();
     friend class NeverDestroyed<InitDataRegistry>;
 
-    RefPtr<SharedBuffer> sanitizeInitData(const AtomicString& initDataType, const SharedBuffer&);
-    WEBCORE_EXPORT Optional<Vector<Ref<SharedBuffer>>> extractKeyIDs(const AtomicString& initDataType, const SharedBuffer&);
+    RefPtr<SharedBuffer> sanitizeInitData(const AtomString& initDataType, const SharedBuffer&);
+    WEBCORE_EXPORT Optional<Vector<Ref<SharedBuffer>>> extractKeyIDs(const AtomString& initDataType, const SharedBuffer&);
 
     struct InitDataTypeCallbacks {
         using SanitizeInitDataCallback = Function<RefPtr<SharedBuffer>(const SharedBuffer&)>;
@@ -55,13 +55,13 @@ public:
         SanitizeInitDataCallback sanitizeInitData;
         ExtractKeyIDsCallback extractKeyIDs;
     };
-    void registerInitDataType(const AtomicString& initDataType, InitDataTypeCallbacks&&);
+    void registerInitDataType(const AtomString& initDataType, InitDataTypeCallbacks&&);
 
 private:
     InitDataRegistry();
     ~InitDataRegistry();
 
-    HashMap<AtomicString, InitDataTypeCallbacks> m_types;
+    HashMap<AtomString, InitDataTypeCallbacks> m_types;
 };
 
 }