aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-06-07 08:26:35 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-07 13:02:18 +0000
commit4ed5dac522f66bbe13ed10548dc57a8138234356 (patch)
tree92fe61659f1cd78f84829b8f9080b02c7a7dc682
parent72f1a4565c2ec4ea9751afce8ef64081cc021dd4 (diff)
Mark SkThreadedBMPDevice destructors with override
Very new versions of Clang (5.0 TOT) call out this problem. Bug: skia: Change-Id: Ie86d3936c26769c0d3387a81fd2c247ea1272d1c Reviewed-on: https://skia-review.googlesource.com/18930 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org>
-rw-r--r--src/core/SkThreadedBMPDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkThreadedBMPDevice.h b/src/core/SkThreadedBMPDevice.h
index e973df2303..372379acca 100644
--- a/src/core/SkThreadedBMPDevice.h
+++ b/src/core/SkThreadedBMPDevice.h
@@ -41,7 +41,7 @@ class SkThreadedBMPDevice : public SkBitmapDevice {
public:
// When threads = 0, we make fThreadCnt = fTileCnt
SkThreadedBMPDevice(const SkBitmap& bitmap, int tiles, int threads = 0);
- ~SkThreadedBMPDevice() { finishThreads(); }
+ ~SkThreadedBMPDevice() override { finishThreads(); }
protected:
void drawPaint(const SkPaint& paint) override;