Unreviewed, build fix after r135410.
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2012 17:58:08 +0000 (17:58 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2012 17:58:08 +0000 (17:58 +0000)
* html/track/InbandTextTrack.cpp:
(WebCore::InbandTextTrack::addCue): Prevent unused parameter error.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@135413 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/track/InbandTextTrack.cpp

index ce4327a..d31ae5d 100644 (file)
@@ -1,3 +1,10 @@
+2012-11-21  Philippe Normand  <pnormand@igalia.com>
+
+        Unreviewed, build fix after r135410.
+
+        * html/track/InbandTextTrack.cpp:
+        (WebCore::InbandTextTrack::addCue): Prevent unused parameter error.
+
 2012-11-21  Andrey Lushnikov  <lushnikov@chromium.com>
 
         Web Inspector: Ctrl+A closes breakpoint condition editor
index 4a24af0..4a1f6b7 100644 (file)
@@ -35,6 +35,8 @@
 #include "MediaPlayer.h"
 #include "TextTrackCueList.h"
 
+#include <wtf/UnusedParam.h>
+
 namespace WebCore {
 
 InbandTextTrack::InbandTextTrack(ScriptExecutionContext* context, TextTrackClient* client, PassRefPtr<InbandTextTrackPrivate> tracksPrivate)
@@ -93,6 +95,7 @@ size_t InbandTextTrack::inbandTrackIndex()
 
 void InbandTextTrack::addCue(InbandTextTrackPrivate* trackPrivate, double start, double end, const String& id, const String& content, const String& settings)
 {
+    UNUSED_PARAM(trackPrivate);
     ASSERT(trackPrivate == m_private);
 
     RefPtr<TextTrackCue> cue = TextTrackCue::create(scriptExecutionContext(), start, end, content);