| Index: Source/core/html/track/InbandTextTrack.cpp
|
| diff --git a/Source/core/html/track/InbandTextTrack.cpp b/Source/core/html/track/InbandTextTrack.cpp
|
| index b33f087e94c635f1c2f350839f884b908579374b..b1076d4028a9960c6ecef517d38979ab75811f72 100644
|
| --- a/Source/core/html/track/InbandTextTrack.cpp
|
| +++ b/Source/core/html/track/InbandTextTrack.cpp
|
| @@ -162,11 +162,11 @@ void InbandTextTrack::addGenericCue(InbandTextTrackPrivate* trackPrivate, Generi
|
| cue->setForegroundColor(cueData->foregroundColor().rgb());
|
|
|
| if (cueData->align() == GenericCueData::Start)
|
| - cue->setAlign(ASCIILiteral("start"), IGNORE_EXCEPTION);
|
| + cue->setAlign("start", IGNORE_EXCEPTION);
|
| else if (cueData->align() == GenericCueData::Middle)
|
| - cue->setAlign(ASCIILiteral("middle"), IGNORE_EXCEPTION);
|
| + cue->setAlign("middle", IGNORE_EXCEPTION);
|
| else if (cueData->align() == GenericCueData::End)
|
| - cue->setAlign(ASCIILiteral("end"), IGNORE_EXCEPTION);
|
| + cue->setAlign("end", IGNORE_EXCEPTION);
|
| cue->setSnapToLines(false);
|
|
|
| if (hasCue(cue.get())) {
|
|
|