Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / track / InbandTextTrack.cpp
index ce05095..22233b6 100644 (file)
@@ -26,7 +26,7 @@
 #include "config.h"
 #include "core/html/track/InbandTextTrack.h"
 
-#include "bindings/v8/ExceptionStatePlaceholder.h"
+#include "bindings/core/v8/ExceptionStatePlaceholder.h"
 #include "core/html/HTMLMediaElement.h"
 #include "core/html/track/vtt/VTTCue.h"
 #include "platform/Logging.h"
 using blink::WebInbandTextTrack;
 using blink::WebString;
 
-namespace WebCore {
+namespace blink {
 
-PassRefPtrWillBeRawPtr<InbandTextTrack> InbandTextTrack::create(Document& document, WebInbandTextTrack* webTrack)
+PassRefPtrWillBeRawPtr<InbandTextTrack> InbandTextTrack::create(WebInbandTextTrack* webTrack)
 {
-    return adoptRefWillBeRefCountedGarbageCollected(new InbandTextTrack(document, webTrack));
+    return adoptRefWillBeRefCountedGarbageCollected(new InbandTextTrack(webTrack));
 }
 
-InbandTextTrack::InbandTextTrack(Document& document, WebInbandTextTrack* webTrack)
-    : TextTrack(document, emptyAtom, webTrack->label(), webTrack->language(), webTrack->id(), InBand)
+InbandTextTrack::InbandTextTrack(WebInbandTextTrack* webTrack)
+    : TextTrack(emptyAtom, webTrack->label(), webTrack->language(), webTrack->id(), InBand)
     , m_webTrack(webTrack)
 {
     m_webTrack->setClient(this);
@@ -111,4 +111,4 @@ void InbandTextTrack::addWebVTTCue(double start, double end, const WebString& id
     addCue(cue);
 }
 
-} // namespace WebCore
+} // namespace blink