Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: webkit/glue/media/video_renderer_impl.cc

Issue 7726002: Completely random typo fixes and style corrections cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR response. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/media/video_renderer_impl.h ('k') | webkit/glue/media/web_video_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/media/video_renderer_impl.cc
diff --git a/webkit/glue/media/video_renderer_impl.cc b/webkit/glue/media/video_renderer_impl.cc
index c217336e4bac92b37e7a2327c7f127db7fac0508..de516e04ac5855b187adc2bc0510318029548ebb 100644
--- a/webkit/glue/media/video_renderer_impl.cc
+++ b/webkit/glue/media/video_renderer_impl.cc
@@ -60,8 +60,7 @@ void VideoRendererImpl::SetWebMediaPlayerProxy(WebMediaPlayerProxy* proxy) {
void VideoRendererImpl::SetRect(const gfx::Rect& rect) {}
// This method is always called on the renderer's thread.
-void VideoRendererImpl::Paint(SkCanvas* canvas,
- const gfx::Rect& dest_rect) {
+void VideoRendererImpl::Paint(SkCanvas* canvas, const gfx::Rect& dest_rect) {
scoped_refptr<media::VideoFrame> video_frame;
GetCurrentFrame(&video_frame);
if (!video_frame) {
@@ -91,16 +90,6 @@ void VideoRendererImpl::Paint(SkCanvas* canvas,
PutCurrentFrame(video_frame);
}
-void VideoRendererImpl::GetCurrentFrame(
- scoped_refptr<media::VideoFrame>* frame_out) {
- VideoRendererBase::GetCurrentFrame(frame_out);
-}
-
-void VideoRendererImpl::PutCurrentFrame(
- scoped_refptr<media::VideoFrame> frame) {
- VideoRendererBase::PutCurrentFrame(frame);
-}
-
// CanFastPaint is a helper method to determine the conditions for fast
// painting. The conditions are:
// 1. No skew in canvas matrix.
« no previous file with comments | « webkit/glue/media/video_renderer_impl.h ('k') | webkit/glue/media/web_video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698