Index: Source/bindings/core/v8/V8StringResource.h |
diff --git a/Source/bindings/core/v8/V8StringResource.h b/Source/bindings/core/v8/V8StringResource.h |
index cc533c5ed475c1556f2d1430b323de9164f2e0d6..82dc79c9ce4a3c94ae1cab2d3c3ac810d29a7157 100644 |
--- a/Source/bindings/core/v8/V8StringResource.h |
+++ b/Source/bindings/core/v8/V8StringResource.h |
@@ -105,7 +105,7 @@ private: |
#endif |
}; |
-class WebCoreStringResource16 FINAL : public WebCoreStringResourceBase, public v8::String::ExternalStringResource { |
+class WebCoreStringResource16 final : public WebCoreStringResourceBase, public v8::String::ExternalStringResource { |
public: |
explicit WebCoreStringResource16(const String& string) |
: WebCoreStringResourceBase(string) |
@@ -119,14 +119,14 @@ public: |
ASSERT(!string.is8Bit()); |
} |
- virtual size_t length() const OVERRIDE { return m_plainString.impl()->length(); } |
- virtual const uint16_t* data() const OVERRIDE |
+ virtual size_t length() const override { return m_plainString.impl()->length(); } |
+ virtual const uint16_t* data() const override |
{ |
return reinterpret_cast<const uint16_t*>(m_plainString.impl()->characters16()); |
} |
}; |
-class WebCoreStringResource8 FINAL : public WebCoreStringResourceBase, public v8::String::ExternalAsciiStringResource { |
+class WebCoreStringResource8 final : public WebCoreStringResourceBase, public v8::String::ExternalAsciiStringResource { |
public: |
explicit WebCoreStringResource8(const String& string) |
: WebCoreStringResourceBase(string) |
@@ -140,8 +140,8 @@ public: |
ASSERT(string.is8Bit()); |
} |
- virtual size_t length() const OVERRIDE { return m_plainString.impl()->length(); } |
- virtual const char* data() const OVERRIDE |
+ virtual size_t length() const override { return m_plainString.impl()->length(); } |
+ virtual const char* data() const override |
{ |
return reinterpret_cast<const char*>(m_plainString.impl()->characters8()); |
} |