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

Unified Diff: src/codec/SkSwizzler.h

Issue 1407603003: Fix SkSwizzler bug (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Response to comments Created 5 years, 2 months 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
Index: src/codec/SkSwizzler.h
diff --git a/src/codec/SkSwizzler.h b/src/codec/SkSwizzler.h
index d7f6337553ec4ed1a7ea5c0194bb76564ab0b0c4..0eafaea6fcdd79ef9964cb8a3237c0c43a177de1 100644
--- a/src/codec/SkSwizzler.h
+++ b/src/codec/SkSwizzler.h
@@ -177,7 +177,7 @@ private:
// deltaSrc is bytesPerPixel
// else
// deltaSrc is bitsPerPixel
- const int fSrcWidth; // Width of the source - i.e. before any sampling.
+ const int fSubsetWidth; // Width of the subset of source before any sampling.
int fDstWidth; // Width of dst, which may differ with sampling.
int fX0; // first X coord to sample
int fSampleX; // step between X samples

Powered by Google App Engine
This is Rietveld 408576698