Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 1c6533cae8149a5d2d52e99a8f7fc0da0a16589f..ecaa70b9d2702d5a6ff20a221c5f33663f012ec8 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -377,7 +377,7 @@ static WeakDocumentSet& liveDocumentSet() |
#endif |
// This class doesn't work with non-Document ExecutionContext. |
-class AutofocusTask FINAL : public ExecutionContextTask { |
+class AutofocusTask final : public ExecutionContextTask { |
public: |
static PassOwnPtr<AutofocusTask> create() |
{ |
@@ -387,7 +387,7 @@ public: |
private: |
AutofocusTask() { } |
- virtual void performTask(ExecutionContext* context) OVERRIDE |
+ virtual void performTask(ExecutionContext* context) override |
{ |
Document* document = toDocument(context); |
if (RefPtrWillBeRawPtr<Element> element = document->autofocusElement()) { |