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

Unified Diff: third_party/WebKit/Source/core/events/PopStateEvent.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/PopStateEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/PopStateEvent.cpp b/third_party/WebKit/Source/core/events/PopStateEvent.cpp
index f5a1a9220374473dbe131974960be27360c6f41d..cad48de8cd1df21fcf588379d13222525989ecc8 100644
--- a/third_party/WebKit/Source/core/events/PopStateEvent.cpp
+++ b/third_party/WebKit/Source/core/events/PopStateEvent.cpp
@@ -32,9 +32,7 @@
namespace blink {
PopStateEvent::PopStateEvent()
- : Event(EventTypeNames::popstate, false, true),
- m_serializedState(nullptr),
- m_history(nullptr) {}
+ : m_serializedState(nullptr), m_history(nullptr) {}
PopStateEvent::PopStateEvent(const AtomicString& type,
const PopStateEventInit& initializer)
« no previous file with comments | « third_party/WebKit/Source/core/events/BeforeUnloadEvent.cpp ('k') | third_party/WebKit/Source/modules/websockets/CloseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698