Changeset 149544 in webkit


Ignore:
Timestamp:
May 3, 2013 4:44:41 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Build with --video-track fails because String(AtomicString) is ambiguous
https://bugs.webkit.org/show_bug.cgi?id=115551

Patch by Brendan Long <b.long@cablelabs.com> on 2013-05-03
Reviewed by Benjamin Poulain.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::configureTextTrackGroup):
Change String(textTrack->kind()) to textTrack->kind().string(), and same thing with language.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r149543 r149544  
     12013-05-03  Brendan Long  <b.long@cablelabs.com>
     2
     3        [Qt] Build with --video-track fails because String(AtomicString) is ambiguous
     4        https://bugs.webkit.org/show_bug.cgi?id=115551
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * html/HTMLMediaElement.cpp:
     9        (WebCore::HTMLMediaElement::configureTextTrackGroup):
     10        Change String(textTrack->kind()) to textTrack->kind().string(), and same thing with language.
     11
    1122013-05-03  Xabier Rodriguez Calvar  <calvaris@igalia.com>
    213
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r149503 r149544  
    32083208
    32093209        int trackScore = captionPreferences ? captionPreferences->textTrackSelectionScore(textTrack.get(), this) : 0;
    3210         LOG(Media, "HTMLMediaElement::configureTextTrackGroup -  '%s' track with language '%s' has score %i", String(textTrack->kind()).utf8().data(), String(textTrack->language()).utf8().data(), trackScore);
     3210        LOG(Media, "HTMLMediaElement::configureTextTrackGroup -  '%s' track with language '%s' has score %i", textTrack->kind().string().utf8().data(), textTrack->language().string().utf8().data(), trackScore);
    32113211
    32123212        if (trackScore) {
Note: See TracChangeset for help on using the changeset viewer.