Index: Source/core/html/MediaKeyEvent.h |
diff --git a/Source/core/html/MediaKeyEvent.h b/Source/core/html/MediaKeyEvent.h |
index 6a0cfc4ce002cd90eb4bf24aa53ddea0a0059daf..370abafce6b65c26d3f3c58970a93c1cfc4b8002 100644 |
--- a/Source/core/html/MediaKeyEvent.h |
+++ b/Source/core/html/MediaKeyEvent.h |
@@ -65,6 +65,7 @@ public: |
Uint8Array* message() const { return m_message.get(); } |
String defaultURL() const { return m_defaultURL; } |
MediaKeyError* errorCode() const { return m_errorCode.get(); } |
+ MediaKeyError* errorCode(bool& isNull) const { isNull = !m_errorCode; return m_errorCode.get(); } |
unsigned short systemCode() const { return m_systemCode; } |
private: |