Index: tools/viewer/Slide.h |
diff --git a/tools/viewer/Slide.h b/tools/viewer/Slide.h |
index bc0ffd40168f900fee49fa847cc6b699878f246e..cdc225b0a8c24b74762d075d6a4f6b21a1353909 100644 |
--- a/tools/viewer/Slide.h |
+++ b/tools/viewer/Slide.h |
@@ -19,13 +19,11 @@ |
public: |
virtual ~Slide() {} |
- virtual SkISize getDimensions() const { |
- return SkISize::Make(0, 0); |
- } |
+ virtual SkISize getDimensions() const = 0; |
virtual void draw(SkCanvas* canvas) = 0; |
virtual bool animate(const SkAnimTimer&) { return false; } |
- virtual void load(SkScalar winWidth, SkScalar winHeight) {} |
+ virtual void load() {} |
virtual void unload() {} |
SkString getName() { return fName; } |