Index: src/codec/SkCodecAnimation.h |
diff --git a/src/codec/SkCodecAnimation.h b/src/codec/SkCodecAnimation.h |
index 2ce5178c6a8e4025d6539c539edf07cc9dfc5c87..0cd9f9e24a870dff5377e9f571fb9cd9e62a9adb 100644 |
--- a/src/codec/SkCodecAnimation.h |
+++ b/src/codec/SkCodecAnimation.h |
@@ -8,6 +8,7 @@ |
#ifndef SkCodecAnimation_DEFINED |
#define SkCodecAnimation_DEFINED |
+#include "SkCodec.h" |
#include "SkRect.h" |
class SkCodecAnimation { |
@@ -43,18 +44,11 @@ public: |
RestorePrevious_DisposalMethod = 3, |
}; |
- struct FrameInfo { |
+ struct FrameInfo : public SkCodec::FrameInfo { |
DisposalMethod fDisposalMethod; |
- // The frame that this frame is drawn on top of, or |
- // SkCodec::kIndependentFrame. |
- size_t fRequiredFrame; |
- |
// The subset of the bounds that this frame describes. |
SkIRect fFrameRect; |
- |
- // How many 1/100 seconds to show this frame. |
- size_t fDuration; |
}; |
private: |
SkCodecAnimation(); |