Chromium Code Reviews| Index: Source/core/html/HTMLMediaElement.h |
| diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
| index 6cdc6faf30d5ba317298a5e871fc2c74c89f502e..1c313e8bbf87e3f91e45308eee0b631e5b8f88e7 100644 |
| --- a/Source/core/html/HTMLMediaElement.h |
| +++ b/Source/core/html/HTMLMediaElement.h |
| @@ -281,8 +281,8 @@ protected: |
| virtual KURL posterImageURL() const { return KURL(); } |
| enum DisplayMode { Unknown, Poster, Video }; |
| - DisplayMode displayMode() const { return m_displayMode; } |
| - virtual void setDisplayMode(DisplayMode mode) { m_displayMode = mode; } |
| + virtual DisplayMode displayMode() const { return Unknown; } |
|
philipj_slow
2015/08/18 08:24:48
Do these need to be virtual and on HTMLMediaElemen
Srirama
2015/08/18 08:58:26
But our intention is to make sure these functions
philipj_slow
2015/08/18 09:10:28
It looks like the displayMode() getter is only use
|
| + virtual void setDisplayMode(DisplayMode mode) { } |
| void setControllerInternal(MediaController*); |
| @@ -508,8 +508,6 @@ private: |
| OwnPtr<WebMediaPlayer> m_webMediaPlayer; |
| WebLayer* m_webLayer; |
| - DisplayMode m_displayMode; |
| - |
| RefPtrWillBeMember<HTMLMediaSource> m_mediaSource; |
| // Cached time value. Only valid when ready state is HAVE_METADATA or |