Fix NaCl build.
In SkDebugger.cpp::forceLinking(), call CreateGIFDecoder on linux but not on NaCl. Review URL: https://codereview.chromium.org/13975008 git-svn-id: http://skia.googlecode.com/svn/trunk@8656 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
07a8ea0002
commit
81a51a2b4d
@ -138,7 +138,7 @@ void forceLinking() {
|
||||
// decoders.
|
||||
SkDEBUGCODE(SkImageDecoder *creator = ) CreateJPEGImageDecoder();
|
||||
SkASSERT(creator);
|
||||
#ifdef SK_BUILD_FOR_UNIX
|
||||
#if defined(SK_BUILD_FOR_UNIX) && !defined(SK_BUILD_FOR_NACL)
|
||||
SkDEBUGCODE(creator = ) CreateGIFImageDecoder();
|
||||
SkASSERT(creator);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user