Chromium Code Reviews| Index: webkit/media/webvideoframe_impl.h |
| diff --git a/webkit/media/webvideoframe_impl.h b/webkit/media/webvideoframe_impl.h |
| index 2f0103742557a028ec9a03ca30fd0ab75df8278d..5125112b86133e6effd5fff37ba058806a7d709d 100644 |
| --- a/webkit/media/webvideoframe_impl.h |
| +++ b/webkit/media/webvideoframe_impl.h |
| @@ -33,6 +33,17 @@ class WebVideoFrameImpl : public WebKit::WebVideoFrame { |
| DISALLOW_COPY_AND_ASSIGN(WebVideoFrameImpl); |
| }; |
| +// TODO(skaslev) This is temporarily inline pending the removal of |
| +// WebKit::WebVideoFrame and WebVideoFrameImpl which are currently unused. |
|
Ami GONE FROM CHROMIUM
2012/10/29 16:57:25
I'm not sure why you say they are unused.
They are
Ami GONE FROM CHROMIUM
2012/10/29 17:10:17
Clarified in IM that "currently unused" refers to
|
| +inline media::VideoFrame* WebVideoFrameImpl::toVideoFrame( |
| + WebKit::WebVideoFrame* web_video_frame) { |
| + WebVideoFrameImpl* wrapped_frame = |
| + static_cast<WebVideoFrameImpl*>(web_video_frame); |
| + if (wrapped_frame) |
| + return wrapped_frame->video_frame_.get(); |
| + return NULL; |
| +} |
| + |
| } // namespace webkit_media |
| #endif // WEBKIT_MEDIA_WEBVIDEOFRAME_IMPL_H_ |