aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/animator
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-01-06 20:16:26 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-01-06 20:16:26 +0000
commitb08eb2b3bce45411494fe00258e4c91248ccd15e (patch)
treeb20617e02fa260e8b09114a72bee7f2ade789323 /src/animator
parent092590b88dd87d2fca87d38b2003068ffef37f2f (diff)
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
Diffstat (limited to 'src/animator')
-rw-r--r--src/animator/SkSnapshot.cpp3
-rw-r--r--src/animator/SkSnapshot.h3
2 files changed, 0 insertions, 6 deletions
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