Index: Source/core/html/track/TextTrackContainer.h |
diff --git a/Source/core/html/track/TextTrackContainer.h b/Source/core/html/track/TextTrackContainer.h |
index 1ed4ac9e0eb1b44945bdcd891600b40df1b434c4..a641fce561b7e440446648bf83bd2c4af211b395 100644 |
--- a/Source/core/html/track/TextTrackContainer.h |
+++ b/Source/core/html/track/TextTrackContainer.h |
@@ -34,14 +34,14 @@ |
namespace blink { |
-class HTMLMediaElement; |
+class HTMLVideoElement; |
class TextTrackContainer final : public HTMLDivElement { |
public: |
static PassRefPtrWillBeRawPtr<TextTrackContainer> create(Document&); |
- void updateDisplay(HTMLMediaElement&); |
- void updateSizes(HTMLMediaElement&); |
+ void updateDisplay(HTMLVideoElement&); |
+ void updateSizes(const LayoutSize&); |
private: |
TextTrackContainer(Document&); |
@@ -50,7 +50,7 @@ private: |
virtual LayoutObject* createRenderer(const LayoutStyle&) override; |
- IntSize m_videoSize; |
+ LayoutSize m_videoSize; |
float m_fontSize; |
}; |