Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2070)

Unified Diff: experimental/SkiaExamples/SkExample.h

Issue 98463013: add virtual destructor for SkExample to fix build error (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkiaExamples/SkExample.h
diff --git a/experimental/SkiaExamples/SkExample.h b/experimental/SkiaExamples/SkExample.h
index bea3aec4fc10d2f8926a8e17b818d44557a5dc18..4b84723ac2435546abb260e74ca9d29b989379b8 100644
--- a/experimental/SkiaExamples/SkExample.h
+++ b/experimental/SkiaExamples/SkExample.h
@@ -23,6 +23,8 @@ class SkExample : public SkNoncopyable {
public:
SkExample(SkExampleWindow* window) : fWindow(window) {}
+ virtual ~SkExample() {}
+
// Your class should override this method to do its thing.
virtual void draw(SkCanvas* canvas) = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698