Index: bench/ReadPixBench.cpp |
diff --git a/bench/ReadPixBench.cpp b/bench/ReadPixBench.cpp |
index f761e3306c760933c3e97d12784ccd9e246b8715..805aaeb5f8fe56fd5dc7e033a869e1f63dbaf14c 100644 |
--- a/bench/ReadPixBench.cpp |
+++ b/bench/ReadPixBench.cpp |
@@ -43,7 +43,7 @@ protected: |
SkBitmap bitmap; |
- bitmap.setConfig(SkBitmap::kARGB_8888_Config, kWindowSize, kWindowSize); |
+ bitmap.setInfo(SkImageInfo::MakeN32Premul(kWindowSize, kWindowSize)); |
for (int i = 0; i < loops; i++) { |
for (int x = 0; x < kNumStepsX; ++x) { |