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

Unified Diff: src/effects/SkPackBits.h

Issue 1722173003: Move SkPackBits to src/effects. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix win64 warnings. Created 4 years, 10 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
« no previous file with comments | « src/core/SkPackBits.cpp ('k') | src/effects/SkPackBits.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/SkPackBits.h
diff --git a/include/core/SkPackBits.h b/src/effects/SkPackBits.h
similarity index 96%
rename from include/core/SkPackBits.h
rename to src/effects/SkPackBits.h
index 1e32ee0875508fc43ff44a58e62310eb6fe8d780..f6430faadd4b17165e2144e481e648dd07bde123 100644
--- a/include/core/SkPackBits.h
+++ b/src/effects/SkPackBits.h
@@ -17,7 +17,7 @@ public:
/** Given the number of 8bit values that will be passed to Pack8,
returns the worst-case size needed for the dst[] buffer.
*/
- static size_t ComputeMaxSize8(int count);
+ static size_t ComputeMaxSize8(size_t srcSize);
/** Write the src array into a packed format. The packing process may end
up writing more bytes than it read, so dst[] must be large enough.
« no previous file with comments | « src/core/SkPackBits.cpp ('k') | src/effects/SkPackBits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698