Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index 36e31f56e5b82c0af671164c9bd614d09285f6d6..563fc2875c41221e1cacec39d108febd1f084377 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -344,9 +344,6 @@ |
this->reset(); |
return false; |
} |
- if (NULL == pixels) { |
- return true; // we behaved as if they called setInfo() |
- } |
// setInfo may have corrected info (e.g. 565 is always opaque). |
const SkImageInfo& correctedInfo = this->info(); |