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:
parent
36bb697683
commit
4f9cdcc810
@ -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*);
|
||||
|
Loading…
Reference in New Issue
Block a user