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

Unified Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.h

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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: third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
index ba47ddaaab9aea5afd1b3502708206b735f05d6f..7c111d4cb6d414e98dfc86b76738dd314d90cb07 100644
--- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
+++ b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.h
@@ -20,10 +20,6 @@ class CORE_EXPORT PromiseRejectionEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
USING_PRE_FINALIZER(PromiseRejectionEvent, dispose);
public:
- static PromiseRejectionEvent* create()
- {
- return new PromiseRejectionEvent;
- }
static PromiseRejectionEvent* create(ScriptState* state, const AtomicString& type, const PromiseRejectionEventInit& initializer)
{
return new PromiseRejectionEvent(state, type, initializer);
@@ -45,7 +41,6 @@ public:
DECLARE_VIRTUAL_TRACE_WRAPPERS();
private:
- PromiseRejectionEvent();
PromiseRejectionEvent(ScriptState*, const AtomicString&, const PromiseRejectionEventInit&);
~PromiseRejectionEvent() override;
void dispose();
« no previous file with comments | « third_party/WebKit/Source/core/events/EventAliases.in ('k') | third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698