| Index: Source/core/html/track/vtt/VTTCue.h
|
| diff --git a/Source/core/html/track/vtt/VTTCue.h b/Source/core/html/track/vtt/VTTCue.h
|
| index c44a07488a0d03e85d3d65793c773cce0d9ec6d6..e006ae76b43881e4682c6ca60196ac341d9d8d54 100644
|
| --- a/Source/core/html/track/vtt/VTTCue.h
|
| +++ b/Source/core/html/track/vtt/VTTCue.h
|
| @@ -39,9 +39,7 @@ class Document;
|
| class ExecutionContext;
|
| class VTTCue;
|
|
|
| -// ----------------------------
|
| -
|
| -class VTTCueBox FINAL : public TextTrackCueBox {
|
| +class VTTCueBox FINAL : public HTMLDivElement {
|
| public:
|
| static PassRefPtr<VTTCueBox> create(Document& document, VTTCue* cue)
|
| {
|
| @@ -51,7 +49,7 @@ public:
|
| VTTCue* getCue() const { return m_cue; }
|
| void applyCSSProperties(const IntSize& videoSize);
|
|
|
| -protected:
|
| +private:
|
| VTTCueBox(Document&, VTTCue*);
|
|
|
| virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
|
| @@ -59,8 +57,6 @@ protected:
|
| VTTCue* m_cue;
|
| };
|
|
|
| -// ----------------------------
|
| -
|
| class VTTCue FINAL : public TextTrackCue, public ScriptWrappable {
|
| public:
|
| static PassRefPtr<VTTCue> create(Document& document, double startTime, double endTime, const String& text)
|
| @@ -144,7 +140,7 @@ private:
|
| Document& document() const;
|
|
|
| PassRefPtr<VTTCueBox> displayTreeInternal();
|
| - PassRefPtr<TextTrackCueBox> getDisplayTree(const IntSize& videoSize);
|
| + PassRefPtr<VTTCueBox> getDisplayTree(const IntSize& videoSize);
|
|
|
| virtual void cueDidChange() OVERRIDE;
|
|
|
|
|