Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: src/image/SkImage_Raster.cpp

Issue 1528383004: Remove SkImageMinRowBytes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/image/SkImagePriv.h ('k') | tests/ImageFrom565Bitmap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « src/image/SkImagePriv.h ('k') | tests/ImageFrom565Bitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698