summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/spellchecker/spellcheck.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 04:05:23 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 11:05:51 +0000
commitb228d038b3bc109dc9548219a2599e3b7531619b (patch)
tree8d33f54fa46761f24803522e5db697547eb27f77 /chrome/renderer/spellchecker/spellcheck.cc
parentf925b925b306314850d8c5ee9017e2b697dae7d7 (diff)
downloadchromium_src-b228d038b3bc109dc9548219a2599e3b7531619b.zip
chromium_src-b228d038b3bc109dc9548219a2599e3b7531619b.tar.gz
chromium_src-b228d038b3bc109dc9548219a2599e3b7531619b.tar.bz2
Standardize usage of virtual/override/final in chrome/renderer/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=jhawkins@chromium.org Review URL: https://codereview.chromium.org/663333002 Cr-Commit-Position: refs/heads/master@{#300451}
Diffstat (limited to 'chrome/renderer/spellchecker/spellcheck.cc')
-rw-r--r--chrome/renderer/spellchecker/spellcheck.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/renderer/spellchecker/spellcheck.cc b/chrome/renderer/spellchecker/spellcheck.cc
index 93a5b08..e8e283a0 100644
--- a/chrome/renderer/spellchecker/spellcheck.cc
+++ b/chrome/renderer/spellchecker/spellcheck.cc
@@ -31,7 +31,7 @@ namespace {
class UpdateSpellcheckEnabled : public content::RenderViewVisitor {
public:
explicit UpdateSpellcheckEnabled(bool enabled) : enabled_(enabled) {}
- virtual bool Visit(content::RenderView* render_view) override;
+ bool Visit(content::RenderView* render_view) override;
private:
bool enabled_; // New spellcheck-enabled state.
@@ -48,9 +48,9 @@ bool UpdateSpellcheckEnabled::Visit(content::RenderView* render_view) {
class DocumentMarkersCollector : public content::RenderViewVisitor {
public:
DocumentMarkersCollector() {}
- virtual ~DocumentMarkersCollector() {}
+ ~DocumentMarkersCollector() override {}
const std::vector<uint32>& markers() const { return markers_; }
- virtual bool Visit(content::RenderView* render_view) override;
+ bool Visit(content::RenderView* render_view) override;
private:
std::vector<uint32> markers_;
@@ -71,8 +71,8 @@ bool DocumentMarkersCollector::Visit(content::RenderView* render_view) {
class DocumentMarkersRemover : public content::RenderViewVisitor {
public:
explicit DocumentMarkersRemover(const std::vector<std::string>& words);
- virtual ~DocumentMarkersRemover() override {}
- virtual bool Visit(content::RenderView* render_view) override;
+ ~DocumentMarkersRemover() override {}
+ bool Visit(content::RenderView* render_view) override;
private:
WebVector<WebString> words_;