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

Unified Diff: Source/modules/indexeddb/IDBObjectStore.cpp

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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/modules/indexeddb/IDBDatabase.h ('k') | Source/modules/indexeddb/IDBOpenDBRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBObjectStore.cpp
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp
index 2ad2b4eae2b0ed6fa3bce73de385251386b6dbe6..5af6e074b060212bb9100fd88d6f405808d968c1 100644
--- a/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -297,14 +297,14 @@ namespace {
// the objectStore. It only needs to be kept alive by virtue of being
// a listener on an IDBRequest object, in the same way that JavaScript
// cursor success handlers are kept alive.
-class IndexPopulator : public EventListener {
+class IndexPopulator FINAL : public EventListener {
public:
static PassRefPtr<IndexPopulator> create(PassRefPtr<IDBDatabase> database, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata& indexMetadata)
{
return adoptRef(new IndexPopulator(database, transactionId, objectStoreId, indexMetadata));
}
- virtual bool operator==(const EventListener& other)
+ virtual bool operator==(const EventListener& other) OVERRIDE
{
return this == &other;
}
@@ -319,7 +319,7 @@ private:
{
}
- virtual void handleEvent(ExecutionContext* context, Event* event)
+ virtual void handleEvent(ExecutionContext* context, Event* event) OVERRIDE
{
ASSERT(event->type() == EventTypeNames::success);
EventTarget* target = event->target();
« no previous file with comments | « Source/modules/indexeddb/IDBDatabase.h ('k') | Source/modules/indexeddb/IDBOpenDBRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698