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

Unified Diff: Source/modules/indexeddb/IDBTransaction.h

Issue 1241613004: Rework dispatchEvent so it is consistent for isTrusted support. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Work around MSVC optimization bug Created 5 years, 5 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/indexeddb/IDBTransaction.h
diff --git a/Source/modules/indexeddb/IDBTransaction.h b/Source/modules/indexeddb/IDBTransaction.h
index b5e7251675dd7c4e1f2edb185635e606f1de3b70..c269707227ee6a37b57c8941e1c71d2be08755b0 100644
--- a/Source/modules/indexeddb/IDBTransaction.h
+++ b/Source/modules/indexeddb/IDBTransaction.h
@@ -99,13 +99,14 @@ public:
const AtomicString& interfaceName() const override;
ExecutionContext* executionContext() const override;
- using EventTarget::dispatchEvent;
- bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override;
-
// ActiveDOMObject
bool hasPendingActivity() const override;
void stop() override;
+protected:
+ // EventTarget
+ bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+
private:
IDBTransaction(ScriptState*, int64_t, const HashSet<String>&, WebIDBTransactionMode, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata&);

Powered by Google App Engine
This is Rietveld 408576698