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

Unified Diff: Source/modules/indexeddb/IDBRequest.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/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 5dceb8f8f2708a8282d7ef90911056ef025f5e07..312b62c9345de500cb9c679f7b3498f76612d78d 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -118,9 +118,6 @@ public:
ExecutionContext* executionContext() const final;
void uncaughtExceptionInEventHandler() final;
- using EventTarget::dispatchEvent;
- bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override;
-
// Called by a version change transaction that has finished to set this
// request back from DONE (following "upgradeneeded") back to PENDING (for
// the upcoming "success" or "error").
@@ -136,6 +133,9 @@ protected:
void onSuccessInternal(IDBAny*);
void setResult(IDBAny*);
+ // EventTarget
+ bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override;
+
bool m_contextStopped;
Member<IDBTransaction> m_transaction;
ReadyState m_readyState;

Powered by Google App Engine
This is Rietveld 408576698