From b08eb2b3bce45411494fe00258e4c91248ccd15e Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Tue, 6 Jan 2009 20:16:26 +0000 Subject: separate image encode and decode remove obsolete build-flag for encode git-svn-id: http://skia.googlecode.com/svn/trunk@56 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/animator/SkSnapshot.cpp | 3 --- src/animator/SkSnapshot.h | 3 --- 2 files changed, 6 deletions(-) (limited to 'src/animator') diff --git a/src/animator/SkSnapshot.cpp b/src/animator/SkSnapshot.cpp index b65c517b73..0043ca5bd5 100644 --- a/src/animator/SkSnapshot.cpp +++ b/src/animator/SkSnapshot.cpp @@ -17,8 +17,6 @@ #include "SkTypes.h" -#ifdef SK_SUPPORT_IMAGE_ENCODE - #include "SkSnapshot.h" #include "SkAnimateMaker.h" #include "SkCanvas.h" @@ -71,4 +69,3 @@ bool SkSnapshot::draw(SkAnimateMaker& maker) { return false; } -#endif diff --git a/src/animator/SkSnapshot.h b/src/animator/SkSnapshot.h index c459fbbcef..7392edc3d8 100644 --- a/src/animator/SkSnapshot.h +++ b/src/animator/SkSnapshot.h @@ -18,8 +18,6 @@ #ifndef SkSnapShot_DEFINED #define SkSnapShot_DEFINED -#ifdef SK_SUPPORT_IMAGE_ENCODE - #include "SkDrawable.h" #include "SkImageDecoder.h" #include "SkMemberInfo.h" @@ -37,6 +35,5 @@ class SkSnapshot: public SkDrawable { int fSeqVal; }; -#endif // SK_SUPPORT_IMAGE_ENCODE #endif // SkSnapShot_DEFINED -- cgit v1.2.3