Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: Source/bindings/core/v8/ExceptionStatePlaceholder.h

Issue 638813002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/ExceptionState.h ('k') | Source/bindings/core/v8/PageScriptDebugServer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/bindings/core/v8/ExceptionState.h ('k') | Source/bindings/core/v8/PageScriptDebugServer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698