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

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

Powered by Google App Engine
This is Rietveld 408576698