Mark SkGifImageReader destructors with override
authorKevin Lubick <kjlubick@google.com>
Wed, 24 May 2017 12:34:16 +0000 (08:34 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 24 May 2017 12:56:00 +0000 (12:56 +0000)
Very new versions of Clang (5.0 TOT) call out this problem.

Bug: skia:
Change-Id: If90f658f258ca52ebb21e2352fbf3180c41008bd
Reviewed-on: https://skia-review.googlesource.com/17795
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
third_party/gif/SkGifImageReader.h

index 6c313e923bd3e7e311653d38bea2483d544b3194..f105a1de877fc249e9ab649b84e7be9acaf824d6 100644 (file)
@@ -212,7 +212,7 @@ public:
     {
     }
 
-    ~SkGIFFrameContext()
+    ~SkGIFFrameContext() override
     {
     }
 
@@ -293,7 +293,7 @@ public:
     {
     }
 
-    ~SkGifImageReader()
+    ~SkGifImageReader() override
     {
     }