#include "core/html/MediaKeyError.h"
#include "modules/EventModules.h"
+#include "wtf/ArrayBuffer.h"
-namespace WebCore {
+namespace blink {
struct MediaKeyMessageEventInit : public EventInit {
MediaKeyMessageEventInit();
- RefPtr<Uint8Array> message;
+ RefPtr<ArrayBuffer> message;
String destinationURL;
};
virtual const AtomicString& interfaceName() const OVERRIDE;
- Uint8Array* message() const { return m_message.get(); }
+ ArrayBuffer* message() const { return m_message.get(); }
String destinationURL() const { return m_destinationURL; }
virtual void trace(Visitor*) OVERRIDE;
MediaKeyMessageEvent();
MediaKeyMessageEvent(const AtomicString& type, const MediaKeyMessageEventInit& initializer);
- RefPtr<Uint8Array> m_message;
+ RefPtr<ArrayBuffer> m_message;
String m_destinationURL;
};
-} // namespace WebCore
+} // namespace blink
#endif