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

Unified Diff: src/images/SkImageDecoder.cpp

Issue 99473004: Remove deprecated setPrefConfigTable. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | « include/core/SkImageDecoder.h ('k') | tests/ImageDecodingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/images/SkImageDecoder.cpp
diff --git a/src/images/SkImageDecoder.cpp b/src/images/SkImageDecoder.cpp
index 1ba93652555dd348fc4be9cc2dac755dc0745037..6bfd4f1a600e866e9d10023dc2d277cfa339496d 100644
--- a/src/images/SkImageDecoder.cpp
+++ b/src/images/SkImageDecoder.cpp
@@ -143,19 +143,6 @@ bool SkImageDecoder::allocPixelRef(SkBitmap* bitmap,
///////////////////////////////////////////////////////////////////////////////
-void SkImageDecoder::setPrefConfigTable(const SkBitmap::Config pref[6]) {
- if (NULL == pref) {
- fUsePrefTable = false;
- } else {
- fUsePrefTable = true;
- fPrefTable.fPrefFor_8Index_NoAlpha_src = pref[0];
- fPrefTable.fPrefFor_8Index_YesAlpha_src = pref[1];
- fPrefTable.fPrefFor_8Gray_src = SkBitmap::kNo_Config;
- fPrefTable.fPrefFor_8bpc_NoAlpha_src = pref[4];
- fPrefTable.fPrefFor_8bpc_YesAlpha_src = pref[5];
- }
-}
-
void SkImageDecoder::setPrefConfigTable(const PrefConfigTable& prefTable) {
fUsePrefTable = true;
fPrefTable = prefTable;
« no previous file with comments | « include/core/SkImageDecoder.h ('k') | tests/ImageDecodingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698