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

Unified Diff: chrome/browser/ui/app_list/extension_app_item.cc

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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
Index: chrome/browser/ui/app_list/extension_app_item.cc
diff --git a/chrome/browser/ui/app_list/extension_app_item.cc b/chrome/browser/ui/app_list/extension_app_item.cc
index 39f24e8cb1519e36e31d44cf7db0bcc103eef7f7..595ea14dcb40368471f668e267a74a4eda3472aa 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -44,11 +44,11 @@ class ShortcutOverlayImageSource : public gfx::CanvasImageSource {
: gfx::CanvasImageSource(icon.size(), false),
icon_(icon) {
}
- virtual ~ShortcutOverlayImageSource() {}
+ ~ShortcutOverlayImageSource() override {}
private:
// gfx::CanvasImageSource overrides:
- virtual void Draw(gfx::Canvas* canvas) override {
+ void Draw(gfx::Canvas* canvas) override {
canvas->DrawImageInt(icon_, 0, 0);
// Draw the overlay in the bottom left corner of the icon.
@@ -69,11 +69,11 @@ class RoundedCornersImageSource : public gfx::CanvasImageSource {
: gfx::CanvasImageSource(icon.size(), false),
icon_(icon) {
}
- virtual ~RoundedCornersImageSource() {}
+ ~RoundedCornersImageSource() override {}
private:
// gfx::CanvasImageSource overrides:
- virtual void Draw(gfx::Canvas* canvas) override {
+ void Draw(gfx::Canvas* canvas) override {
// The radius used to round the app icon.
const size_t kRoundingRadius = 2;

Powered by Google App Engine
This is Rietveld 408576698