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

Unified Diff: Source/modules/filesystem/DirectoryReaderSync.cpp

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (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/modules/filesystem/DirectoryReaderSync.cpp
diff --git a/Source/modules/filesystem/DirectoryReaderSync.cpp b/Source/modules/filesystem/DirectoryReaderSync.cpp
index cc8e9fb17682dae694ca1dcbffdc6d5d652c1118..e7f57bf610082327d8c11770ba27350913d5de2f 100644
--- a/Source/modules/filesystem/DirectoryReaderSync.cpp
+++ b/Source/modules/filesystem/DirectoryReaderSync.cpp
@@ -42,14 +42,14 @@
namespace blink {
-class DirectoryReaderSync::EntriesCallbackHelper FINAL : public EntriesCallback {
+class DirectoryReaderSync::EntriesCallbackHelper final : public EntriesCallback {
public:
explicit EntriesCallbackHelper(DirectoryReaderSync* reader)
: m_reader(reader)
{
}
- virtual void handleEvent(const EntryHeapVector& entries) OVERRIDE
+ virtual void handleEvent(const EntryHeapVector& entries) override
{
EntrySyncHeapVector syncEntries;
syncEntries.reserveInitialCapacity(entries.size());
@@ -58,7 +58,7 @@ public:
m_reader->addEntries(syncEntries);
}
- virtual void trace(Visitor* visitor) OVERRIDE
+ virtual void trace(Visitor* visitor) override
{
visitor->trace(m_reader);
EntriesCallback::trace(visitor);
@@ -68,19 +68,19 @@ private:
Member<DirectoryReaderSync> m_reader;
};
-class DirectoryReaderSync::ErrorCallbackHelper FINAL : public ErrorCallback {
+class DirectoryReaderSync::ErrorCallbackHelper final : public ErrorCallback {
public:
explicit ErrorCallbackHelper(DirectoryReaderSync* reader)
: m_reader(reader)
{
}
- virtual void handleEvent(FileError* error) OVERRIDE
+ virtual void handleEvent(FileError* error) override
{
m_reader->setError(error->code());
}
- virtual void trace(Visitor* visitor) OVERRIDE
+ virtual void trace(Visitor* visitor) override
{
visitor->trace(m_reader);
ErrorCallback::trace(visitor);
« no previous file with comments | « Source/modules/filesystem/DirectoryReaderSync.h ('k') | Source/modules/filesystem/DraggedIsolatedFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698