diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-13 05:47:32 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-13 05:47:32 +0000 |
commit | df913d9519a80ca882e82163659588e2f5109de9 (patch) | |
tree | 5f11540cbba1737c730aef02028ed68015c589ab /url | |
parent | d4839996076e54913112005350125d159f04898e (diff) | |
download | chromium_src-df913d9519a80ca882e82163659588e2f5109de9.zip chromium_src-df913d9519a80ca882e82163659588e2f5109de9.tar.gz chromium_src-df913d9519a80ca882e82163659588e2f5109de9.tar.bz2 |
Fix some clang warnings found by chromium-style plugin.
This adds some missing OVERRIDE to virtual functions.
BUG=229660
TBR=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/22927003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url')
-rw-r--r-- | url/url_canon_icu.h | 3 | ||||
-rw-r--r-- | url/url_canon_stdstring.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/url/url_canon_icu.h b/url/url_canon_icu.h index 9bfd643e..1159768 100644 --- a/url/url_canon_icu.h +++ b/url/url_canon_icu.h @@ -7,6 +7,7 @@ // ICU integration functions. +#include "base/compiler_specific.h" #include "url/url_canon.h" #include "url/url_export.h" @@ -27,7 +28,7 @@ class URL_EXPORT ICUCharsetConverter : public CharsetConverter { virtual void ConvertFromUTF16(const base::char16* input, int input_len, - CanonOutput* output); + CanonOutput* output) OVERRIDE; private: // The ICU converter, not owned by this class. diff --git a/url/url_canon_stdstring.h b/url/url_canon_stdstring.h index 7450f15..9b4a6c2 100644 --- a/url/url_canon_stdstring.h +++ b/url/url_canon_stdstring.h @@ -11,6 +11,7 @@ #include <string> +#include "base/compiler_specific.h" #include "url/url_canon.h" namespace url_canon { @@ -51,7 +52,7 @@ class StdStringCanonOutput : public CanonOutput { buffer_len_ = cur_len_; } - virtual void Resize(int sz) { + virtual void Resize(int sz) OVERRIDE { str_->resize(sz); buffer_ = str_->empty() ? NULL : &(*str_)[0]; buffer_len_ = sz; |