Use proper color type for assert.
authorherb <herb@google.com>
Tue, 10 May 2016 21:53:34 +0000 (14:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 May 2016 21:53:34 +0000 (14:53 -0700)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1967803002

Review-Url: https://codereview.chromium.org/1967803002

bench/SkBlend_optsBench.cpp

index 5ef9c150ebdc696756c03b7478a52e2c9a18ffb3..24f1f8522923f5e1099f8ea31d010f757e04cb7d 100644 (file)
@@ -115,7 +115,7 @@ protected:
     }
     const char* onGetName() override { return fName.c_str(); }
     void onDraw(int loops, SkCanvas*) override {
-        SkASSERT(fPixmap.colorType() == kRGBA_8888_SkColorType);
+        SkASSERT(fPixmap.colorType() == kN32_SkColorType);
 
         const int width = fPixmap.rowBytesAsPixels();