Index: Source/bindings/core/v8/ScriptPromise.h |
diff --git a/Source/bindings/core/v8/ScriptPromise.h b/Source/bindings/core/v8/ScriptPromise.h |
index e7cd36fe74c2375a62d3b60dcbf58a579a58861c..85cdae575f5bd7df07ec097e0b4ae24976f46a97 100644 |
--- a/Source/bindings/core/v8/ScriptPromise.h |
+++ b/Source/bindings/core/v8/ScriptPromise.h |
@@ -46,7 +46,7 @@ class DOMException; |
// So holding a ScriptPromise as a member variable in DOM object causes |
// memory leaks since it has a reference from C++ to V8. |
// |
-class ScriptPromise FINAL { |
+class ScriptPromise final { |
public: |
// Constructs an empty promise. |
ScriptPromise() { } |
@@ -118,7 +118,7 @@ public: |
// This is a utility class intended to be used internally. |
// ScriptPromiseResolver is for general purpose. |
- class InternalResolver FINAL { |
+ class InternalResolver final { |
public: |
explicit InternalResolver(ScriptState*); |
v8::Local<v8::Promise> v8Promise() const; |