Index: Source/bindings/core/v8/ExceptionStatePlaceholder.h |
diff --git a/Source/bindings/core/v8/ExceptionStatePlaceholder.h b/Source/bindings/core/v8/ExceptionStatePlaceholder.h |
index 91d65b212a9b7d427bcab92788fc9456a6711da8..9b4e4e855f9f5708a655b6b67d5cfb1d6b1fef15 100644 |
--- a/Source/bindings/core/v8/ExceptionStatePlaceholder.h |
+++ b/Source/bindings/core/v8/ExceptionStatePlaceholder.h |
@@ -42,26 +42,26 @@ class ExceptionState; |
typedef int ExceptionCode; |
-class IgnorableExceptionState FINAL : public ExceptionState { |
+class IgnorableExceptionState final : public ExceptionState { |
public: |
IgnorableExceptionState(): ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Handle<v8::Object>(), 0) { } |
ExceptionState& returnThis() { return *this; } |
- virtual void throwDOMException(const ExceptionCode&, const String& message = String()) OVERRIDE { } |
- virtual void throwTypeError(const String& message = String()) OVERRIDE { } |
- virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) OVERRIDE { } |
+ virtual void throwDOMException(const ExceptionCode&, const String& message = String()) override { } |
+ virtual void throwTypeError(const String& message = String()) override { } |
+ virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override { } |
}; |
#define IGNORE_EXCEPTION (::blink::IgnorableExceptionState().returnThis()) |
#if ENABLE(ASSERT) |
-class NoExceptionStateAssertionChecker FINAL : public ExceptionState { |
+class NoExceptionStateAssertionChecker final : public ExceptionState { |
public: |
NoExceptionStateAssertionChecker(const char* file, int line); |
ExceptionState& returnThis() { return *this; } |
- virtual void throwDOMException(const ExceptionCode&, const String& message = String()) OVERRIDE; |
- virtual void throwTypeError(const String& message = String()) OVERRIDE; |
- virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) OVERRIDE; |
+ virtual void throwDOMException(const ExceptionCode&, const String& message = String()) override; |
+ virtual void throwTypeError(const String& message = String()) override; |
+ virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override; |
private: |
const char* m_file; |