Index: skia/ext/image_operations_bench.cc |
diff --git a/skia/ext/image_operations_bench.cc b/skia/ext/image_operations_bench.cc |
index 617c46416373e4e5c5105c33c94846db47087759..c4146d260c5bfc3ea565f8de86753f156b9e26ab 100644 |
--- a/skia/ext/image_operations_bench.cc |
+++ b/skia/ext/image_operations_bench.cc |
@@ -229,9 +229,7 @@ bool Benchmark::ParseArgs(const base::CommandLine* command_line) { |
// actual benchmark. |
bool Benchmark::Run() const { |
SkBitmap source; |
- source.setConfig(SkBitmap::kARGB_8888_Config, |
- source_.width(), source_.height()); |
- source.allocPixels(); |
+ source.allocN32Pixels(source_.width(), source_.height()); |
source.eraseARGB(0, 0, 0, 0); |
SkBitmap dest; |