| Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| index f0c93fd8584c1bfad56cb8d4cb5ca9dc7dd233c4..b3ae76334321b94c81d9f565fd6736ea832ec824 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| @@ -388,4 +388,18 @@ ScriptPromise HTMLVideoElement::createImageBitmap(
|
| eventTarget.toLocalDOMWindow()->document(), options));
|
| }
|
|
|
| +void HTMLVideoElement::webglUpdateLastUploaded() {
|
| + if (webMediaPlayer() &&
|
| + webMediaPlayer()->getLastUploadedFrameInfo(
|
| + &m_webglLastUploadedWidth, &m_webglLastUploadedHeight,
|
| + &m_webglLastUploadedTimestamp)) {
|
| + return;
|
| + }
|
| +
|
| + // getCurrentFrameInfo was unavailable or failed
|
| + m_webglLastUploadedWidth = 0;
|
| + m_webglLastUploadedHeight = 0;
|
| + m_webglLastUploadedTimestamp = 0.0;
|
| +}
|
| +
|
| } // namespace blink
|
|
|