Index: Source/modules/mediasource/SourceBuffer.h |
diff --git a/Source/modules/mediasource/SourceBuffer.h b/Source/modules/mediasource/SourceBuffer.h |
index 8c30dea98623e81c39d23a551f14e91c50479223..464487a07de3de30ea2796951dec28206ca24a7a 100644 |
--- a/Source/modules/mediasource/SourceBuffer.h |
+++ b/Source/modules/mediasource/SourceBuffer.h |
@@ -34,14 +34,13 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/dom/EventTarget.h" |
+#include "core/dom/ExceptionCode.h" |
#include "core/platform/Timer.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
- |
-class ExceptionState; |
class GenericEventQueue; |
class MediaSource; |
class SourceBufferPrivate; |
@@ -55,12 +54,12 @@ public: |
// SourceBuffer.idl methods |
bool updating() const { return m_updating; } |
- PassRefPtr<TimeRanges> buffered(ExceptionState&) const; |
+ PassRefPtr<TimeRanges> buffered(ExceptionCode&) const; |
double timestampOffset() const; |
- void setTimestampOffset(double, ExceptionState&); |
- void appendBuffer(PassRefPtr<ArrayBuffer> data, ExceptionState&); |
- void appendBuffer(PassRefPtr<ArrayBufferView> data, ExceptionState&); |
- void abort(ExceptionState&); |
+ void setTimestampOffset(double, ExceptionCode&); |
+ void appendBuffer(PassRefPtr<ArrayBuffer> data, ExceptionCode&); |
+ void appendBuffer(PassRefPtr<ArrayBufferView> data, ExceptionCode&); |
+ void abort(ExceptionCode&); |
void abortIfUpdating(); |
void removedFromMediaSource(); |
@@ -89,7 +88,7 @@ private: |
bool isRemoved() const; |
void scheduleEvent(const AtomicString& eventName); |
- void appendBufferInternal(unsigned char*, unsigned, ExceptionState&); |
+ void appendBufferInternal(unsigned char*, unsigned, ExceptionCode&); |
void appendBufferTimerFired(Timer<SourceBuffer>*); |
OwnPtr<SourceBufferPrivate> m_private; |