diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-01-27 01:43:36 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-01-27 01:43:36 +0000 |
commit | 3c2b7e8b5e718192e9c944b2c79189e2ee227606 (patch) | |
tree | 510d8bf7e532c2149f69bfcb97f6482801e19128 /src | |
parent | 45bcb22e7a95f7f28544a949e699a682cc6bb24f (diff) |
explicitly define the gHead for the codec llist
git-svn-id: http://skia.googlecode.com/svn/trunk@85 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/images/SkImageDecoder_Factory.cpp | 2 | ||||
-rw-r--r-- | src/images/SkImageEncoder_Factory.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/images/SkImageDecoder_Factory.cpp b/src/images/SkImageDecoder_Factory.cpp index 33009812fd..9dd9913bb5 100644 --- a/src/images/SkImageDecoder_Factory.cpp +++ b/src/images/SkImageDecoder_Factory.cpp @@ -22,6 +22,8 @@ typedef SkTRegistry<SkImageDecoder*, SkStream*> DecodeReg; +template DecodeReg* DecodeReg::gHead; + SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { const DecodeReg* curr = DecodeReg::Head(); while (curr) { diff --git a/src/images/SkImageEncoder_Factory.cpp b/src/images/SkImageEncoder_Factory.cpp index f44cd8fa30..d673167523 100644 --- a/src/images/SkImageEncoder_Factory.cpp +++ b/src/images/SkImageEncoder_Factory.cpp @@ -19,6 +19,8 @@ typedef SkTRegistry<SkImageEncoder*, SkImageEncoder::Type> EncodeReg; +template EncodeReg* EncodeReg::gHead; + SkImageEncoder* SkImageEncoder::Create(Type t) { const EncodeReg* curr = EncodeReg::Head(); while (curr) { |