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

Unified Diff: components/dom_distiller/core/distilled_page_prefs_unittests.cc

Issue 666133002: Standardize usage of virtual/override/final in components/ (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 | « components/dom_distiller/core/distilled_content_store.h ('k') | components/dom_distiller/core/distiller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/distilled_page_prefs_unittests.cc
diff --git a/components/dom_distiller/core/distilled_page_prefs_unittests.cc b/components/dom_distiller/core/distilled_page_prefs_unittests.cc
index 665fbc94f10b70e36e4bb7d94607955f99cee973..cf13fce10a219e6561b75d367f9c1c94e401aad4 100644
--- a/components/dom_distiller/core/distilled_page_prefs_unittests.cc
+++ b/components/dom_distiller/core/distilled_page_prefs_unittests.cc
@@ -19,14 +19,13 @@ class TestingObserver : public DistilledPagePrefs::Observer {
: font_(DistilledPagePrefs::SANS_SERIF),
theme_(DistilledPagePrefs::LIGHT) {}
- virtual void OnChangeFontFamily(
- DistilledPagePrefs::FontFamily new_font) override {
+ void OnChangeFontFamily(DistilledPagePrefs::FontFamily new_font) override {
font_ = new_font;
}
DistilledPagePrefs::FontFamily GetFontFamily() { return font_; }
- virtual void OnChangeTheme(DistilledPagePrefs::Theme new_theme) override {
+ void OnChangeTheme(DistilledPagePrefs::Theme new_theme) override {
theme_ = new_theme;
}
« no previous file with comments | « components/dom_distiller/core/distilled_content_store.h ('k') | components/dom_distiller/core/distiller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698