| Index: third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.h b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| index a8df45913e415587e09403c564639c6addf0284b..c95c7f2e308fada476309e193f4190dcc96b6322 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.h
|
| @@ -121,6 +121,14 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
|
| const ImageBitmapOptions&,
|
| ExceptionState&) override;
|
|
|
| + unsigned webglLastUploadedWidth() const { return m_webglLastUploadedWidth; }
|
| + unsigned webglLastUploadedHeight() const { return m_webglLastUploadedHeight; }
|
| + double webglLastUploadedTimestamp() const {
|
| + return m_webglLastUploadedTimestamp;
|
| + }
|
| +
|
| + void webglUpdateLastUploaded();
|
| +
|
| private:
|
| friend class MediaCustomControlsFullscreenDetectorTest;
|
| friend class HTMLMediaElementEventListenersTest;
|
| @@ -150,6 +158,10 @@ class CORE_EXPORT HTMLVideoElement final : public HTMLMediaElement,
|
| m_customControlsFullscreenDetector;
|
|
|
| AtomicString m_defaultPosterURL;
|
| +
|
| + unsigned m_webglLastUploadedWidth = 0;
|
| + unsigned m_webglLastUploadedHeight = 0;
|
| + double m_webglLastUploadedTimestamp = 0.0;
|
| };
|
|
|
| } // namespace blink
|
|
|