| Index: media/tools/shader_bench/cpu_color_painter.cc
|
| diff --git a/media/tools/shader_bench/cpu_color_painter.cc b/media/tools/shader_bench/cpu_color_painter.cc
|
| index e8b7562d3aeb7f96b125aed21245a8e5fafe2423..d2dbc4ce600e78e014bd70f1c110d78ded8b705c 100644
|
| --- a/media/tools/shader_bench/cpu_color_painter.cc
|
| +++ b/media/tools/shader_bench/cpu_color_painter.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -64,9 +64,9 @@ void CPUColorPainter::Initialize(int width, int height) {
|
| }
|
|
|
| void CPUColorPainter::Paint(scoped_refptr<media::VideoFrame> video_frame) {
|
| - // Convert to RGBA frame.
|
| + // Convert to RGB32 frame.
|
| scoped_refptr<media::VideoFrame> rgba_frame =
|
| - media::VideoFrame::CreateFrame(media::VideoFrame::RGBA,
|
| + media::VideoFrame::CreateFrame(media::VideoFrame::RGB32,
|
| video_frame->width(),
|
| video_frame->height(),
|
| base::TimeDelta(),
|
|
|