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

Unified Diff: third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp

Issue 2677793003: Don't initialize event when calling create() with no argument (Closed)
Patch Set: Created 3 years, 10 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/BeforeUnloadEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp b/third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp
index 8d291188610edb7c81faa1e0089923aed6a5dbf0..6a80b36cbf84f78173c78a6d662693bf0bde4b94 100644
--- a/third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp
+++ b/third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp
@@ -25,8 +25,7 @@
namespace blink {
-BeforeUnloadEvent::BeforeUnloadEvent()
- : Event(EventTypeNames::beforeunload, false, true) {}
+BeforeUnloadEvent::BeforeUnloadEvent() {}
BeforeUnloadEvent::~BeforeUnloadEvent() {}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/events/PopStateEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698