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

Unified Diff: Source/bindings/core/v8/ExceptionState.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
Index: Source/bindings/core/v8/ExceptionState.h
diff --git a/Source/bindings/core/v8/ExceptionState.h b/Source/bindings/core/v8/ExceptionState.h
index 32fb1d5f0a7f029ce35c66c48d6b1c271bcbaf8a..fc0de0a2ca4a9d51a93e4861c039096a5291fc17 100644
--- a/Source/bindings/core/v8/ExceptionState.h
+++ b/Source/bindings/core/v8/ExceptionState.h
@@ -126,23 +126,23 @@ private:
};
// Used if exceptions can/should not be directly thrown.
-class NonThrowableExceptionState FINAL : public ExceptionState {
+class NonThrowableExceptionState final : public ExceptionState {
public:
NonThrowableExceptionState(): ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()) { }
- virtual void throwDOMException(const ExceptionCode&, const String& message) OVERRIDE;
- virtual void throwTypeError(const String& message = String()) OVERRIDE;
- virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) OVERRIDE;
- virtual void throwRangeError(const String& message) OVERRIDE;
+ virtual void throwDOMException(const ExceptionCode&, const String& message) override;
+ virtual void throwTypeError(const String& message = String()) override;
+ virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override;
+ virtual void throwRangeError(const String& message) override;
};
// Used if any exceptions thrown are ignorable.
-class TrackExceptionState FINAL : public ExceptionState {
+class TrackExceptionState final : public ExceptionState {
public:
TrackExceptionState(): ExceptionState(ExceptionState::UnknownContext, 0, 0, v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()) { }
- virtual void throwDOMException(const ExceptionCode&, const String& message) OVERRIDE;
- virtual void throwTypeError(const String& message = String()) OVERRIDE;
- virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) OVERRIDE;
- virtual void throwRangeError(const String& message) OVERRIDE;
+ virtual void throwDOMException(const ExceptionCode&, const String& message) override;
+ virtual void throwTypeError(const String& message = String()) override;
+ virtual void throwSecurityError(const String& sanitizedMessage, const String& unsanitizedMessage = String()) override;
+ virtual void throwRangeError(const String& message) override;
};
} // namespace blink
« no previous file with comments | « Source/bindings/core/v8/CallbackPromiseAdapter.h ('k') | Source/bindings/core/v8/ExceptionStatePlaceholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698