<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>128799</bug_id>
          
          <creation_ts>2014-02-13 23:51:13 -0800</creation_ts>
          <short_desc>[GTK] MEDIA_CONTROLS_SCRIPT depends on VIDEO_TRACK</short_desc>
          <delta_ts>2014-02-17 08:13:04 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ChangSeok Oh">changseok</reporter>
          <assigned_to name="ChangSeok Oh">changseok</assigned_to>
          <cc>calvaris</cc>
    
    <cc>commit-queue</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>980669</commentid>
    <comment_count>0</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2014-02-13 23:51:13 -0800</bug_when>
    <thetext>MEDIA_CONTROLS_SCRIPT has a dependency on VIDEO_TRACK. So it causes a build break if building with autotools.
cmake system has enabled it as default. So I propose enabling VIDEO_TRACK as well


 CXX      DerivedSources/WebCore/libWebCore_la-JSMediaTrackConstraint.lo
  CXX      DerivedSources/WebCore/libWebCore_la-JSMessageChannel.lo
  CXX      DerivedSources/WebCore/libWebCore_la-JSMessageEvent.lo
  CXX      DerivedSources/WebCore/libWebCore_la-JSMessagePort.lo
DerivedSources/WebCore/JSMediaControlsHost.cpp: In function &apos;JSC::EncodedJSValue WebCore::jsMediaControlsHostCaptionMenuOffItem(JSC::ExecState*, JSC::JSObject*, JSC::EncodedJSValue, JSC::PropertyName)&apos;:
DerivedSources/WebCore/JSMediaControlsHost.cpp:121:99: error: no matching function for call to &apos;toJS(JSC::ExecState*&amp;, WebCore::JSDOMGlobalObject*, WebCore::TextTrack*)&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuOffItem()));
                                                                                                   ^
DerivedSources/WebCore/JSMediaControlsHost.cpp:121:99: note: candidates are:
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:350:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, JSC::ArrayBuffer*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, JSC::ArrayBuffer* buffer)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:350:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;JSC::ArrayBuffer*&apos;
../../Source/WebCore/bindings/js/JSDOMBinding.h:362:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, JSC::ArrayBufferView*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, JSC::ArrayBufferView* view)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:362:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;JSC::ArrayBufferView*&apos;
../../Source/WebCore/bindings/js/JSDOMBinding.h:370:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WTF::PassRefPtr&lt;T&gt;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, PassRefPtr&lt;T&gt; ptr)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:370:21: note:   template argument deduction/substitution failed:
DerivedSources/WebCore/JSMediaControlsHost.cpp:121:99: note:   mismatched types &apos;WTF::PassRefPtr&lt;T&gt;&apos; and &apos;WebCore::TextTrack*&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuOffItem()));
                                                                                                   ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:376:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector&lt;CharacterType&gt;&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, const Vector&lt;T&gt;&amp; vector)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:376:21: note:   template argument deduction/substitution failed:
DerivedSources/WebCore/JSMediaControlsHost.cpp:121:99: note:   mismatched types &apos;const WTF::Vector&lt;CharacterType&gt;&apos; and &apos;WebCore::TextTrack*&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuOffItem()));
                                                                                                   ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:387:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector&lt;WTF::RefPtr&lt;T&gt; &gt;&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, const Vector&lt;RefPtr&lt;T&gt;&gt;&amp; vector)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:387:21: note:   template argument deduction/substitution failed:
DerivedSources/WebCore/JSMediaControlsHost.cpp:121:99: note:   mismatched types &apos;const WTF::Vector&lt;WTF::RefPtr&lt;T&gt; &gt;&apos; and &apos;WebCore::TextTrack*&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuOffItem()));
                                                                                                   ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:397:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::String&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject*, const String&amp; value)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:397:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;const WTF::String&amp;&apos;
In file included from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:0:
DerivedSources/WebCore/JSMediaControlsHost.h:90:14: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::MediaControlsHost*)
 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, MediaControlsHost*);
              ^
DerivedSources/WebCore/JSMediaControlsHost.h:90:14: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;WebCore::MediaControlsHost*&apos;
In file included from DerivedSources/WebCore/JSNode.h:219:0,
                 from DerivedSources/WebCore/JSElement.h:26,
                 from DerivedSources/WebCore/JSHTMLElement.h:26,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:30:
../../Source/WebCore/bindings/js/JSNodeCustom.h:38:25: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::Node*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Node* node)
                         ^
../../Source/WebCore/bindings/js/JSNodeCustom.h:38:25: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;WebCore::Node*&apos;
DerivedSources/WebCore/JSMediaControlsHost.cpp: In function &apos;JSC::EncodedJSValue WebCore::jsMediaControlsHostCaptionMenuAutomaticItem(JSC::ExecState*, JSC::JSObject*, JSC::EncodedJSValue, JSC::PropertyName)&apos;:
DerivedSources/WebCore/JSMediaControlsHost.cpp:140:105: error: no matching function for call to &apos;toJS(JSC::ExecState*&amp;, WebCore::JSDOMGlobalObject*, WebCore::TextTrack*)&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuAutomaticItem()));
                                                                                                         ^
DerivedSources/WebCore/JSMediaControlsHost.cpp:140:105: note: candidates are:
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:350:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, JSC::ArrayBuffer*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, JSC::ArrayBuffer* buffer)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:350:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;JSC::ArrayBuffer*&apos;
../../Source/WebCore/bindings/js/JSDOMBinding.h:362:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, JSC::ArrayBufferView*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, JSC::ArrayBufferView* view)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:362:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;JSC::ArrayBufferView*&apos;
../../Source/WebCore/bindings/js/JSDOMBinding.h:370:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WTF::PassRefPtr&lt;T&gt;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, PassRefPtr&lt;T&gt; ptr)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:370:21: note:   template argument deduction/substitution failed:
DerivedSources/WebCore/JSMediaControlsHost.cpp:140:105: note:   mismatched types &apos;WTF::PassRefPtr&lt;T&gt;&apos; and &apos;WebCore::TextTrack*&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuAutomaticItem()));
                                                                                                         ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:376:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector&lt;CharacterType&gt;&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, const Vector&lt;T&gt;&amp; vector)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:376:21: note:   template argument deduction/substitution failed:
DerivedSources/WebCore/JSMediaControlsHost.cpp:140:105: note:   mismatched types &apos;const WTF::Vector&lt;CharacterType&gt;&apos; and &apos;WebCore::TextTrack*&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuAutomaticItem()));
                                                                                                         ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:387:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector&lt;WTF::RefPtr&lt;T&gt; &gt;&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, const Vector&lt;RefPtr&lt;T&gt;&gt;&amp; vector)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:387:21: note:   template argument deduction/substitution failed:
DerivedSources/WebCore/JSMediaControlsHost.cpp:140:105: note:   mismatched types &apos;const WTF::Vector&lt;WTF::RefPtr&lt;T&gt; &gt;&apos; and &apos;WebCore::TextTrack*&apos;
     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.captionMenuAutomaticItem()));
                                                                                                         ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h:397:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::String&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject*, const String&amp; value)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:397:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;const WTF::String&amp;&apos;
In file included from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:0:
DerivedSources/WebCore/JSMediaControlsHost.h:90:14: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::MediaControlsHost*)
 JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, MediaControlsHost*);
              ^
DerivedSources/WebCore/JSMediaControlsHost.h:90:14: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;WebCore::MediaControlsHost*&apos;
In file included from DerivedSources/WebCore/JSNode.h:219:0,
                 from DerivedSources/WebCore/JSElement.h:26,
                 from DerivedSources/WebCore/JSHTMLElement.h:26,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:30:
../../Source/WebCore/bindings/js/JSNodeCustom.h:38:25: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::Node*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Node* node)
                         ^
../../Source/WebCore/bindings/js/JSNodeCustom.h:38:25: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;WebCore::Node*&apos;
DerivedSources/WebCore/JSMediaControlsHost.cpp: In function &apos;JSC::EncodedJSValue WebCore::jsMediaControlsHostPrototypeFunctionSortedTrackListForMenu(JSC::ExecState*)&apos;:
DerivedSources/WebCore/JSMediaControlsHost.cpp:231:63: error: &apos;toTextTrackList&apos; was not declared in this scope
     TextTrackList* trackList(toTextTrackList(exec-&gt;argument(0)));
                                                               ^
DerivedSources/WebCore/JSMediaControlsHost.cpp: In function &apos;JSC::EncodedJSValue WebCore::jsMediaControlsHostPrototypeFunctionDisplayNameForTrack(JSC::ExecState*)&apos;:
DerivedSources/WebCore/JSMediaControlsHost.cpp:249:51: error: &apos;toTextTrack&apos; was not declared in this scope
     TextTrack* track(toTextTrack(exec-&gt;argument(0)));
                                                   ^
DerivedSources/WebCore/JSMediaControlsHost.cpp: In function &apos;JSC::EncodedJSValue WebCore::jsMediaControlsHostPrototypeFunctionSetSelectedTextTrack(JSC::ExecState*)&apos;:
DerivedSources/WebCore/JSMediaControlsHost.cpp:267:51: error: &apos;toTextTrack&apos; was not declared in this scope
     TextTrack* track(toTextTrack(exec-&gt;argument(0)));
                                                   ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h: In instantiation of &apos;static JSC::JSValue WebCore::JSValueTraits&lt;T&gt;::arrayJSValue(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const T&amp;) [with T = WTF::RefPtr&lt;WebCore::TextTrack&gt;]&apos;:
../../Source/WebCore/bindings/js/JSDOMBinding.h:442:71:   required from &apos;JSC::JSValue WebCore::jsArray(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector&lt;U, otherCapacity, WTF::CrashOnOverflow&gt;&amp;) [with T = WTF::RefPtr&lt;WebCore::TextTrack&gt;; long unsigned int inlineCapacity = 0ul]&apos;
DerivedSources/WebCore/JSMediaControlsHost.cpp:235:107:   required from here
../../Source/WebCore/bindings/js/JSDOMBinding.h:406:59: error: no matching function for call to &apos;toJS(JSC::ExecState*&amp;, WebCore::JSDOMGlobalObject*&amp;, WebCore::TextTrack*)&apos;
         return toJS(exec, globalObject, WTF::getPtr(value));
                                                           ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:406:59: note: candidates are:
../../Source/WebCore/bindings/js/JSDOMBinding.h:350:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, JSC::ArrayBuffer*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, JSC::ArrayBuffer* buffer)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:350:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;JSC::ArrayBuffer*&apos;
../../Source/WebCore/bindings/js/JSDOMBinding.h:362:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, JSC::ArrayBufferView*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, JSC::ArrayBufferView* view)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:362:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;JSC::ArrayBufferView*&apos;
../../Source/WebCore/bindings/js/JSDOMBinding.h:370:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WTF::PassRefPtr&lt;T&gt;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, PassRefPtr&lt;T&gt; ptr)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:370:21: note:   template argument deduction/substitution failed:
../../Source/WebCore/bindings/js/JSDOMBinding.h:406:59: note:   mismatched types &apos;WTF::PassRefPtr&lt;T&gt;&apos; and &apos;WebCore::TextTrack*&apos;
         return toJS(exec, globalObject, WTF::getPtr(value));
                                                           ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:376:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector&lt;CharacterType&gt;&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, const Vector&lt;T&gt;&amp; vector)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:376:21: note:   template argument deduction/substitution failed:
../../Source/WebCore/bindings/js/JSDOMBinding.h:406:59: note:   mismatched types &apos;const WTF::Vector&lt;CharacterType&gt;&apos; and &apos;WebCore::TextTrack*&apos;
         return toJS(exec, globalObject, WTF::getPtr(value));
                                                           ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:387:21: note: template&lt;class T&gt; JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector&lt;WTF::RefPtr&lt;T&gt; &gt;&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, const Vector&lt;RefPtr&lt;T&gt;&gt;&amp; vector)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:387:21: note:   template argument deduction/substitution failed:
../../Source/WebCore/bindings/js/JSDOMBinding.h:406:59: note:   mismatched types &apos;const WTF::Vector&lt;WTF::RefPtr&lt;T&gt; &gt;&apos; and &apos;WebCore::TextTrack*&apos;
         return toJS(exec, globalObject, WTF::getPtr(value));
                                                           ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:397:21: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::String&amp;)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject*, const String&amp; value)
                     ^
../../Source/WebCore/bindings/js/JSDOMBinding.h:397:21: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;const WTF::String&amp;&apos;
In file included from DerivedSources/WebCore/JSNode.h:219:0,
                 from DerivedSources/WebCore/JSElement.h:26,
                 from DerivedSources/WebCore/JSHTMLElement.h:26,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:30:
../../Source/WebCore/bindings/js/JSNodeCustom.h:38:25: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::Node*)
 inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, Node* node)
                         ^
../../Source/WebCore/bindings/js/JSNodeCustom.h:38:25: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;WebCore::Node*&apos;
DerivedSources/WebCore/JSMediaControlsHost.cpp:301:14: note: JSC::JSValue WebCore::toJS(JSC::ExecState*, WebCore::JSDOMGlobalObject*, WebCore::MediaControlsHost*)
 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, MediaControlsHost* impl)
              ^
DerivedSources/WebCore/JSMediaControlsHost.cpp:301:14: note:   no known conversion for argument 3 from &apos;WebCore::TextTrack*&apos; to &apos;WebCore::MediaControlsHost*&apos;
In file included from ../../Source/WTF/wtf/RefPtr.h:27:0,
                 from ../../Source/WTF/wtf/MetaAllocatorHandle.h:35,
                 from ../../Source/JavaScriptCore/jit/ExecutableAllocator.h:32,
                 from ../../Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:30,
                 from ../../Source/JavaScriptCore/interpreter/AbstractPC.h:29,
                 from ../../Source/JavaScriptCore/interpreter/CallFrame.h:26,
                 from ../../Source/JavaScriptCore/interpreter/CallFrameInlines.h:29,
                 from ../../Source/JavaScriptCore/runtime/JSCInlines.h:40,
                 from ../../Source/WebCore/bindings/js/JSDOMGlobalObject.h:31,
                 from ../../Source/WebCore/bindings/js/JSDOMBinding.h:27,
                 from DerivedSources/WebCore/JSMediaControlsHost.h:26,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WTF/wtf/PassRefPtr.h: In instantiation of &apos;void WTF::derefIfNotNull(T*) [with T = WebCore::TextTrack]&apos;:
../../Source/WTF/wtf/RefPtr.h:55:83:   required from &apos;WTF::RefPtr&lt;T&gt;::~RefPtr() [with T = WebCore::TextTrack]&apos;
../../Source/WTF/wtf/Vector.h:57:13:   required from &apos;static void WTF::VectorDestructor&lt;true, T&gt;::destruct(T*, T*) [with T = WTF::RefPtr&lt;WebCore::TextTrack&gt;]&apos;
../../Source/WTF/wtf/Vector.h:215:92:   required from &apos;static void WTF::VectorTypeOperations&lt;T&gt;::destruct(T*, T*) [with T = WTF::RefPtr&lt;WebCore::TextTrack&gt;]&apos;
../../Source/WTF/wtf/Vector.h:926:51:   required from &apos;void WTF::Vector&lt;T, inlineCapacity, OverflowHandler&gt;::shrink(size_t) [with T = WTF::RefPtr&lt;WebCore::TextTrack&gt;; long unsigned int inlineCapacity = 0ul; OverflowHandler = WTF::CrashOnOverflow; size_t = long unsigned int]&apos;
../../Source/WTF/wtf/Vector.h:565:21:   required from &apos;WTF::Vector&lt;T, inlineCapacity, OverflowHandler&gt;::~Vector() [with T = WTF::RefPtr&lt;WebCore::TextTrack&gt;; long unsigned int inlineCapacity = 0ul; OverflowHandler = WTF::CrashOnOverflow]&apos;
DerivedSources/WebCore/JSMediaControlsHost.cpp:235:106:   required from here
../../Source/WTF/wtf/PassRefPtr.h:39:13: error: invalid use of incomplete type &apos;class WebCore::TextTrack&apos;
             ptr-&gt;deref();
             ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:27:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/Modules/mediacontrols/MediaControlsHost.h:41:7: error: forward declaration of &apos;class WebCore::TextTrack&apos;
 class TextTrack;
       ^
In file included from DerivedSources/WebCore/JSMediaControlsHost.h:26:0,
                 from DerivedSources/WebCore/JSMediaControlsHost.cpp:25:
../../Source/WebCore/bindings/js/JSDOMBinding.h: In static member function &apos;static JSC::JSValue WebCore::JSValueTraits&lt;T&gt;::arrayJSValue(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const T&amp;) [with T = WTF::RefPtr&lt;WebCore::TextTrack&gt;]&apos;:
../../Source/WebCore/bindings/js/JSDOMBinding.h:407:5: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
make[1]: *** [DerivedSources/WebCore/libWebCore_la-JSMediaControlsHost.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/shivamidow/Projects/WebKit/WebKitBuild/Release&apos;
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>980686</commentid>
    <comment_count>1</comment_count>
      <attachid>224175</attachid>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2014-02-14 00:52:45 -0800</bug_when>
    <thetext>Created attachment 224175
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>980726</commentid>
    <comment_count>2</comment_count>
      <attachid>224175</attachid>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2014-02-14 03:09:34 -0800</bug_when>
    <thetext>Comment on attachment 224175
Patch

I makes sense to me, but I guess Phil can be more helpful</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>981458</commentid>
    <comment_count>3</comment_count>
      <attachid>224175</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-17 08:13:02 -0800</bug_when>
    <thetext>Comment on attachment 224175
Patch

Clearing flags on attachment: 224175

Committed r164222: &lt;http://trac.webkit.org/changeset/164222&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>981459</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-17 08:13:04 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>224175</attachid>
            <date>2014-02-14 00:52:45 -0800</date>
            <delta_ts>2014-02-17 08:13:02 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-128799-20140214175244.patch</filename>
            <type>text/plain</type>
            <size>1433</size>
            <attacher name="ChangSeok Oh">changseok</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTY0MDkyCmRpZmYgLS1naXQgYS9Tb3VyY2UvYXV0b3Rvb2xz
L1NldHVwV2ViS2l0RmVhdHVyZXMubTQgYi9Tb3VyY2UvYXV0b3Rvb2xzL1NldHVwV2ViS2l0RmVh
dHVyZXMubTQKaW5kZXggZjAzMzc4MmZjYjQ4MWQzODY5YTk1ZDg2MTMyODg2ZDUyNjJiM2Q3YS4u
YTAwMjcxMGFjYTY2Y2NkOTNhOTU5ZTE2OWIyZDFkYmQwNjI0NDAwOCAxMDA2NDQKLS0tIGEvU291
cmNlL2F1dG90b29scy9TZXR1cFdlYktpdEZlYXR1cmVzLm00CisrKyBiL1NvdXJjZS9hdXRvdG9v
bHMvU2V0dXBXZWJLaXRGZWF0dXJlcy5tNApAQCAtMTY0LDcgKzE2NCw3IEBAICRzcmNkaXIvVG9v
bHMvZ3RrL2dlbmVyYXRlLWZlYXR1cmUtZGVmaW5lcy1maWxlcyAkQ09ORklHVVJBQkxFX0ZFQVRV
UkVfREVGSU5FUyBcCiAgICAgRU5BQkxFX1RPVUNIX0lDT05fTE9BRElORz0wIFwKICAgICBFTkFC
TEVfVVNFUl9USU1JTkc9MCBcCiAgICAgRU5BQkxFX1ZJQlJBVElPTj0wIFwKLSAgICBFTkFCTEVf
VklERU9fVFJBQ0s9MCBcCisgICAgRU5BQkxFX1ZJREVPX1RSQUNLPTEgXAogICAgIEVOQUJMRV9W
SUVXX01PREVfQ1NTX01FRElBPTEgXAogICAgIEVOQUJMRV9XRUJfU09DS0VUUz0xIFwKICAgICBF
TkFCTEVfV0VCX1RJTUlORz0xIFwKZGlmZiAtLWdpdCBhL0NoYW5nZUxvZyBiL0NoYW5nZUxvZwpp
bmRleCAzODMxODVmNWQ3ZjU0NzRmYjVlNTEyYzIyZDI3NmVmZDAzMmE2ZjAyLi40YzYzMGE1MTE1
NDgxZmQ2MmYxMDdiZDUzMDE0ZDk0NWJiMDBkZjhlIDEwMDY0NAotLS0gYS9DaGFuZ2VMb2cKKysr
IGIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTQtMDItMTQgIENoYW5nU2VvayBPaCAg
PGNoYW5nc2Vvay5vaEBjb2xsYWJvcmEuY29tPgorCisgICAgICAgIFtHVEtdIE1FRElBX0NPTlRS
T0xTX1NDUklQVCBkZXBlbmRzIG9uIFZJREVPX1RSQUNLCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xMjg3OTkKKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICBNRURJQV9DT05UUk9MU19TQ1JJUFQgaGFzIGEgZGVw
ZW5kZW5jeSBvbiBWSURFT19UUkFDSy4gU28gaXQgY2F1c2VzIGEgYnVpbGQgYnJlYWsKKyAgICAg
ICAgaWYgYnVpbGRpbmcgd2l0aCBhdXRvdG9vbHMuIGNtYWtlIHN5c3RlbSBoYXMgZW5hYmxlZCBp
dCBhcyBkZWZhdWx0LiBTbyBJIHByb3Bvc2UKKyAgICAgICAgZW5hYmxpbmcgVklERU9fVFJBQ0sg
YXMgd2VsbC4KKworICAgICAgICAqIFNvdXJjZS9hdXRvdG9vbHMvU2V0dXBXZWJLaXRGZWF0dXJl
cy5tNDoKKwogMjAxNC0wMi0wOSAgTWFydGluIFJvYmluc29uICA8bXJvYmluc29uQGlnYWxpYS5j
b20+CiAKICAgICAgICAgW0dUS10gW0NNYWtlXSBKYXZhU2NyaXB0Q29yZSBjcmFzaGVzIGluIEpT
Qzo6ZXZhbAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>