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

Unified Diff: Source/modules/indexeddb/IDBOpenDBRequest.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: 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/IDBOpenDBRequest.h
diff --git a/Source/modules/indexeddb/IDBOpenDBRequest.h b/Source/modules/indexeddb/IDBOpenDBRequest.h
index b460ab723ed5a2ce8bd0578f386a2b05ef1a70a1..717fa5a55c83f6909a806f8553a38e8434e93bfb 100644
--- a/Source/modules/indexeddb/IDBOpenDBRequest.h
+++ b/Source/modules/indexeddb/IDBOpenDBRequest.h
@@ -50,13 +50,13 @@ public:
// EventTarget
const AtomicString& interfaceName() const override;
- bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override;
DEFINE_ATTRIBUTE_EVENT_LISTENER(blocked);
DEFINE_ATTRIBUTE_EVENT_LISTENER(upgradeneeded);
protected:
bool shouldEnqueueEvent() const override;
+ bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
private:
IDBOpenDBRequest(ScriptState*, IDBDatabaseCallbacks*, int64_t transactionId, int64_t version);

Powered by Google App Engine
This is Rietveld 408576698