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

Unified Diff: Source/core/html/MediaKeyEvent.h

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 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
« no previous file with comments | « Source/core/html/ImageData.cpp ('k') | Source/core/html/MediaKeyEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaKeyEvent.h
diff --git a/Source/core/html/MediaKeyEvent.h b/Source/core/html/MediaKeyEvent.h
index 07945c6c0dee88e98033b1c4dea8e832cbe8c428..cb697192ec2f95a3517ff21377c6791811c96538 100644
--- a/Source/core/html/MediaKeyEvent.h
+++ b/Source/core/html/MediaKeyEvent.h
@@ -26,6 +26,7 @@
#ifndef MediaKeyEvent_h
#define MediaKeyEvent_h
+#include "core/dom/DOMTypedArray.h"
#include "core/events/Event.h"
#include "core/html/MediaKeyError.h"
@@ -36,8 +37,8 @@ struct MediaKeyEventInit : public EventInit {
String keySystem;
String sessionId;
- RefPtr<Uint8Array> initData;
- RefPtr<Uint8Array> message;
+ RefPtr<DOMUint8Array> initData;
+ RefPtr<DOMUint8Array> message;
String defaultURL;
RefPtrWillBeMember<MediaKeyError> errorCode;
unsigned short systemCode;
@@ -62,8 +63,8 @@ public:
String keySystem() const { return m_keySystem; }
String sessionId() const { return m_sessionId; }
- Uint8Array* initData() const { return m_initData.get(); }
- Uint8Array* message() const { return m_message.get(); }
+ DOMUint8Array* initData() const { return m_initData.get(); }
+ DOMUint8Array* message() const { return m_message.get(); }
String defaultURL() const { return m_defaultURL; }
MediaKeyError* errorCode() const { return m_errorCode.get(); }
unsigned short systemCode() const { return m_systemCode; }
@@ -76,8 +77,8 @@ private:
String m_keySystem;
String m_sessionId;
- RefPtr<Uint8Array> m_initData;
- RefPtr<Uint8Array> m_message;
+ RefPtr<DOMUint8Array> m_initData;
+ RefPtr<DOMUint8Array> m_message;
String m_defaultURL;
RefPtrWillBeMember<MediaKeyError> m_errorCode;
unsigned short m_systemCode;
« no previous file with comments | « Source/core/html/ImageData.cpp ('k') | Source/core/html/MediaKeyEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698