diff options
Diffstat (limited to 'WebKit/chromium/src/VideoFrameChromiumImpl.cpp')
-rw-r--r-- | WebKit/chromium/src/VideoFrameChromiumImpl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebKit/chromium/src/VideoFrameChromiumImpl.cpp b/WebKit/chromium/src/VideoFrameChromiumImpl.cpp index a60fe28..99e3e1e 100644 --- a/WebKit/chromium/src/VideoFrameChromiumImpl.cpp +++ b/WebKit/chromium/src/VideoFrameChromiumImpl.cpp @@ -100,6 +100,13 @@ const void* VideoFrameChromiumImpl::data(unsigned plane) const return 0; } +unsigned VideoFrameChromiumImpl::texture(unsigned plane) const +{ + if (m_webVideoFrame) + return m_webVideoFrame->texture(plane); + return 0; +} + const IntSize VideoFrameChromiumImpl::requiredTextureSize(unsigned plane) const { switch (format()) { |