diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 05:38:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 12:38:39 +0000 |
commit | 9168b2fe3e30afa4fd9a9500ba0725edf97c20a3 (patch) | |
tree | bb288d5b7fccc259391b83b18b12368a0d516b21 /extensions/browser/extension_icon_image.cc | |
parent | ae36a4a3f2efd040be2e563b0bff0592b0a5b5a1 (diff) | |
download | chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.zip chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.gz chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.bz2 |
Standardize usage of virtual/override/final in extensions/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
TBR=yoz@chromium.org
Review URL: https://codereview.chromium.org/664933004
Cr-Commit-Position: refs/heads/master@{#300475}
Diffstat (limited to 'extensions/browser/extension_icon_image.cc')
-rw-r--r-- | extensions/browser/extension_icon_image.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/browser/extension_icon_image.cc b/extensions/browser/extension_icon_image.cc index 851d824..069dc66 100644 --- a/extensions/browser/extension_icon_image.cc +++ b/extensions/browser/extension_icon_image.cc @@ -55,11 +55,11 @@ class BlankImageSource : public gfx::CanvasImageSource { explicit BlankImageSource(const gfx::Size& size_in_dip) : CanvasImageSource(size_in_dip, /*is_opaque =*/ false) { } - virtual ~BlankImageSource() {} + ~BlankImageSource() override {} private: // gfx::CanvasImageSource overrides: - virtual void Draw(gfx::Canvas* canvas) override { + void Draw(gfx::Canvas* canvas) override { canvas->DrawColor(SkColorSetARGB(0, 0, 0, 0)); } @@ -76,13 +76,13 @@ namespace extensions { class IconImage::Source : public gfx::ImageSkiaSource { public: Source(IconImage* host, const gfx::Size& size_in_dip); - virtual ~Source(); + ~Source() override; void ResetHost(); private: // gfx::ImageSkiaSource overrides: - virtual gfx::ImageSkiaRep GetImageForScale(float scale) override; + gfx::ImageSkiaRep GetImageForScale(float scale) override; // Used to load images, possibly asynchronously. NULLed out when the IconImage // is destroyed. |