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

Unified Diff: extensions/browser/extension_icon_image.cc

Issue 664933004: Standardize usage of virtual/override/final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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 | « extensions/browser/extension_icon_image.h ('k') | extensions/browser/extension_icon_image_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_icon_image.cc
diff --git a/extensions/browser/extension_icon_image.cc b/extensions/browser/extension_icon_image.cc
index 851d82459c3d983c38005f95668185fe2e8ba135..069dc66d38aecd42e09d77de4c7bc75ca245f2d6 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.
« no previous file with comments | « extensions/browser/extension_icon_image.h ('k') | extensions/browser/extension_icon_image_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698