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

Unified Diff: src/codec/SkBmpRLECodec.h

Issue 1907593004: Support the non-native (RGBA/BGRA) swizzle (Closed) Base URL: https://skia.googlesource.com/skia.git@tryagain
Patch Set: Rebase Created 4 years, 8 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/SkBmpRLECodec.h
diff --git a/src/codec/SkBmpRLECodec.h b/src/codec/SkBmpRLECodec.h
index e0afccd927583a34c805394ef698328bcb6305a0..8c53e4ff0a4b60a6f748be13a9cf06aef56f64ff 100644
--- a/src/codec/SkBmpRLECodec.h
+++ b/src/codec/SkBmpRLECodec.h
@@ -58,7 +58,7 @@ private:
* Creates the color table
* Sets colorCount to the new color count if it is non-nullptr
*/
- bool createColorTable(int* colorCount);
+ bool createColorTable(int* colorCount, SkColorType dstColorType);
bool initializeStreamBuffer();

Powered by Google App Engine
This is Rietveld 408576698