Index: Source/modules/mediasource/SourceBuffer.h |
diff --git a/Source/modules/mediasource/SourceBuffer.h b/Source/modules/mediasource/SourceBuffer.h |
index abdb5ee90807690299666f90f768410ccb83ef3b..6939dae361aa29b60caab83514b0ae2d72e0794e 100644 |
--- a/Source/modules/mediasource/SourceBuffer.h |
+++ b/Source/modules/mediasource/SourceBuffer.h |
@@ -35,7 +35,6 @@ |
#include "core/dom/ActiveDOMObject.h" |
#include "core/events/EventTarget.h" |
#include "core/fileapi/FileReaderLoaderClient.h" |
-#include "core/platform/graphics/SourceBufferPrivate.h" |
#include "platform/AsyncMethodRunner.h" |
#include "weborigin/KURL.h" |
#include "wtf/OwnPtr.h" |
@@ -45,6 +44,10 @@ |
#include "wtf/RefPtr.h" |
#include "wtf/text/WTFString.h" |
+namespace blink { |
+class WebSourceBuffer; |
+} |
+ |
namespace WebCore { |
class ExceptionState; |
@@ -57,7 +60,7 @@ class TimeRanges; |
class SourceBuffer : public RefCounted<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineData, public ScriptWrappable, public FileReaderLoaderClient { |
REFCOUNTED_EVENT_TARGET(SourceBuffer); |
public: |
- static PassRefPtr<SourceBuffer> create(PassOwnPtr<SourceBufferPrivate>, MediaSource*, GenericEventQueue*); |
+ static PassRefPtr<SourceBuffer> create(PassOwnPtr<blink::WebSourceBuffer>, MediaSource*, GenericEventQueue*); |
virtual ~SourceBuffer(); |
@@ -91,7 +94,7 @@ public: |
virtual const AtomicString& interfaceName() const OVERRIDE; |
private: |
- SourceBuffer(PassOwnPtr<SourceBufferPrivate>, MediaSource*, GenericEventQueue*); |
+ SourceBuffer(PassOwnPtr<blink::WebSourceBuffer>, MediaSource*, GenericEventQueue*); |
bool isRemoved() const; |
void scheduleEvent(const AtomicString& eventName); |
@@ -112,7 +115,7 @@ private: |
virtual void didFinishLoading() OVERRIDE; |
virtual void didFail(FileError::ErrorCode) OVERRIDE; |
- OwnPtr<SourceBufferPrivate> m_private; |
+ OwnPtr<blink::WebSourceBuffer> m_webSourceBuffer; |
MediaSource* m_source; |
GenericEventQueue* m_asyncEventQueue; |