| Index: Source/core/html/track/TextTrackCueGeneric.cpp
|
| diff --git a/Source/core/html/track/TextTrackCueGeneric.cpp b/Source/core/html/track/TextTrackCueGeneric.cpp
|
| index a7f0db26ef305615357af24d2c7cb2be419f3445..2ea70e39bc9a2bd4f665215005c0da050a1530f1 100644
|
| --- a/Source/core/html/track/TextTrackCueGeneric.cpp
|
| +++ b/Source/core/html/track/TextTrackCueGeneric.cpp
|
| @@ -40,9 +40,9 @@ public:
|
| {
|
| return adoptRef(new TextTrackCueGenericBoxElement(document, cue));
|
| }
|
| -
|
| +
|
| virtual void applyCSSProperties(const IntSize&) OVERRIDE;
|
| -
|
| +
|
| private:
|
| TextTrackCueGenericBoxElement(Document*, TextTrackCue*);
|
| };
|
| @@ -56,7 +56,7 @@ void TextTrackCueGenericBoxElement::applyCSSProperties(const IntSize& videoSize)
|
| {
|
| setInlineStyleProperty(CSSPropertyPosition, CSSValueAbsolute);
|
| setInlineStyleProperty(CSSPropertyUnicodeBidi, CSSValueWebkitPlaintext);
|
| -
|
| +
|
| TextTrackCueGeneric* cue = static_cast<TextTrackCueGeneric*>(getCue());
|
|
|
| float size = static_cast<float>(cue->getCSSSize());
|
| @@ -75,7 +75,7 @@ void TextTrackCueGenericBoxElement::applyCSSProperties(const IntSize& videoSize)
|
|
|
| if (cue->foregroundColor().alpha())
|
| setInlineStyleProperty(CSSPropertyColor, cue->foregroundColor().serialized());
|
| -
|
| +
|
| if (cue->backgroundColor().alpha())
|
| cue->element()->setInlineStyleProperty(CSSPropertyBackgroundColor, cue->backgroundColor().serialized());
|
|
|
| @@ -162,6 +162,6 @@ bool TextTrackCueGeneric::operator==(const TextTrackCue& cue) const
|
|
|
| return TextTrackCue::operator==(cue);
|
| }
|
| -
|
| +
|
| } // namespace WebCore
|
|
|
|
|