X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fskia%2Ftests%2FWritePixelsTest.cpp;h=f47c67bd3b8b0be07370209c15fd12cb0f8843ae;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=2a8d0592bbb558178323617695972cbb8d9b2de4;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/skia/tests/WritePixelsTest.cpp b/src/third_party/skia/tests/WritePixelsTest.cpp index 2a8d059..f47c67b 100644 --- a/src/third_party/skia/tests/WritePixelsTest.cpp +++ b/src/third_party/skia/tests/WritePixelsTest.cpp @@ -115,8 +115,7 @@ static uint32_t getBitmapColor(int x, int y, int w, SkColorType ct, SkAlphaType static void fillCanvas(SkCanvas* canvas) { SkBitmap bmp; if (bmp.isNull()) { - SkDEBUGCODE(bool alloc = ) bmp.allocN32Pixels(DEV_W, DEV_H); - SkASSERT(alloc); + bmp.allocN32Pixels(DEV_W, DEV_H); for (int y = 0; y < DEV_H; ++y) { for (int x = 0; x < DEV_W; ++x) { *bmp.getAddr32(x, y) = getCanvasColor(x, y);