Compile fix for shared library builds.

Patch by: Evan Martin.

git-svn-id: http://skia.googlecode.com/svn/trunk@576 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
agl@chromium.org 2010-06-10 21:32:00 +00:00
parent 36bb697683
commit 4f9cdcc810

View File

@ -22,7 +22,9 @@
typedef SkTRegistry<SkImageDecoder*, SkStream*> DecodeReg;
template<> DecodeReg* DecodeReg::gHead;
// N.B. You can't use "DecodeReg::gHead here" due to complex C++
// corner cases.
template DecodeReg* SkTRegistry<SkImageDecoder*, SkStream*>::gHead;
#ifdef SK_ENABLE_LIBPNG
extern SkImageDecoder* sk_libpng_dfactory(SkStream*);