| Index: Source/platform/text/DateTimeFormatTest.cpp
|
| diff --git a/Source/platform/text/DateTimeFormatTest.cpp b/Source/platform/text/DateTimeFormatTest.cpp
|
| index a6db6f503ea305df93e37411227b762bd654fb75..9facc96b571147ca995b899bf63c12c0dd85afb4 100644
|
| --- a/Source/platform/text/DateTimeFormatTest.cpp
|
| +++ b/Source/platform/text/DateTimeFormatTest.cpp
|
| @@ -31,11 +31,11 @@
|
| #include "wtf/text/StringBuilder.h"
|
| #include <gtest/gtest.h>
|
|
|
| -using namespace blink;
|
| +namespace blink {
|
|
|
| class DateTimeFormatTest : public ::testing::Test {
|
| public:
|
| - typedef DateTimeFormat::FieldType FieldType;
|
| + using FieldType = DateTimeFormat::FieldType;
|
|
|
| struct Token {
|
| String string;
|
| @@ -183,7 +183,7 @@ protected:
|
| private:
|
| class TokenHandler : public DateTimeFormat::TokenHandler {
|
| public:
|
| - virtual ~TokenHandler() { }
|
| + ~TokenHandler() override { }
|
|
|
| FieldType fieldType(int index) const
|
| {
|
| @@ -193,7 +193,7 @@ private:
|
| Tokens tokens() const { return Tokens(m_tokens); }
|
|
|
| private:
|
| - virtual void visitField(FieldType fieldType, int count) override
|
| + void visitField(FieldType fieldType, int count) override
|
| {
|
| m_tokens.append(Token(fieldType, count));
|
| }
|
| @@ -334,4 +334,6 @@ TEST_F(DateTimeFormatTest, SingleUpperCaseInvalid)
|
| EXPECT_EQ(DateTimeFormat::FieldTypeInvalid, single('X'));
|
| }
|
|
|
| +} // namespace blink
|
| +
|
| #endif
|
|
|