Index: src/image/SkImage_Raster.cpp |
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp |
index 977dc01c4bb3ed00eff796fcd89ba4bbc01bb5f7..2b81da8915897881ac466f66a61539e7b5dbf0a6 100644 |
--- a/src/image/SkImage_Raster.cpp |
+++ b/src/image/SkImage_Raster.cpp |
@@ -48,7 +48,7 @@ public: |
return false; |
} |
- if (rowBytes < SkImageMinRowBytes(info)) { |
+ if (rowBytes < info.minRowBytes()) { |
return false; |
} |