summaryrefslogtreecommitdiffstats
path: root/media/tools/shader_bench/shader_bench.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/tools/shader_bench/shader_bench.cc')
-rw-r--r--media/tools/shader_bench/shader_bench.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/tools/shader_bench/shader_bench.cc b/media/tools/shader_bench/shader_bench.cc
index 23ff542..0cba70b 100644
--- a/media/tools/shader_bench/shader_bench.cc
+++ b/media/tools/shader_bench/shader_bench.cc
@@ -8,11 +8,11 @@
#include <stdlib.h>
#include "base/at_exit.h"
+#include "base/bind.h"
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/string_number_conversions.h"
#include "base/time.h"
-#include "media/base/callback.h"
#include "media/base/video_frame.h"
#include "media/tools/shader_bench/cpu_color_painter.h"
#include "media/tools/shader_bench/gpu_color_painter.h"
@@ -82,7 +82,7 @@ void TestFinished() {
void RunTest(media::Window* window, Painter* painter) {
g_start_ = base::TimeTicks::HighResNow();
- window->Start(kNumFramesToPaint, NewRunnableFunction(&TestFinished), painter);
+ window->Start(kNumFramesToPaint, base::Bind(&TestFinished), painter);
}
int main(int argc, char** argv) {