| Index: media/filters/skcanvas_video_renderer.h
|
| diff --git a/media/filters/skcanvas_video_renderer.h b/media/filters/skcanvas_video_renderer.h
|
| index 8aa148af7205e8913d82870e9aa4ab853b1cdd71..9981ea2e48c65d987206fa6ca6aeec4229aa53ef 100644
|
| --- a/media/filters/skcanvas_video_renderer.h
|
| +++ b/media/filters/skcanvas_video_renderer.h
|
| @@ -31,8 +31,8 @@ class MEDIA_EXPORT SkCanvasVideoRenderer {
|
|
|
| // Paints |video_frame| on |canvas|, scaling and rotating the result to fit
|
| // dimensions specified by |dest_rect|.
|
| - // If the format of |video_frame| is VideoFrame::NATIVE_TEXTURE and |canvas|
|
| - // is ganeshed, |context_3d| must be provided.
|
| + // If the format of |video_frame| is VideoFrame::NATIVE_TEXTURE, |context_3d|
|
| + // must be provided.
|
| //
|
| // Black will be painted on |canvas| if |video_frame| is null.
|
| void Paint(const scoped_refptr<VideoFrame>& video_frame,
|
| @@ -44,7 +44,11 @@ class MEDIA_EXPORT SkCanvasVideoRenderer {
|
| const Context3D& context_3d);
|
|
|
| // Copy |video_frame| on |canvas|.
|
| - void Copy(const scoped_refptr<VideoFrame>&, SkCanvas* canvas);
|
| + // If the format of |video_frame| is VideoFrame::NATIVE_TEXTURE, |context_3d|
|
| + // must be provided.
|
| + void Copy(const scoped_refptr<VideoFrame>&,
|
| + SkCanvas* canvas,
|
| + const Context3D& context_3d);
|
|
|
| // Copy the contents of texture of |video_frame| to texture |texture|.
|
| // |level|, |internal_format|, |type| specify target texture |texture|.
|
|
|