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

Unified Diff: Source/core/dom/Document.cpp

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (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/core/dom/Document.h ('k') | Source/core/dom/DocumentFragment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) {
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/DocumentFragment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698