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

Unified Diff: third_party/WebKit/Source/modules/websockets/CloseEvent.h

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
« no previous file with comments | « third_party/WebKit/Source/core/events/PopStateEvent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/websockets/CloseEvent.h
diff --git a/third_party/WebKit/Source/modules/websockets/CloseEvent.h b/third_party/WebKit/Source/modules/websockets/CloseEvent.h
index f46df7fdf58c0e17b15c2a808a45d0af41b1046d..7aa602251de3d6618f7f55646ff485e80f1f4ab6 100644
--- a/third_party/WebKit/Source/modules/websockets/CloseEvent.h
+++ b/third_party/WebKit/Source/modules/websockets/CloseEvent.h
@@ -72,10 +72,7 @@ class CloseEvent final : public Event {
DEFINE_INLINE_VIRTUAL_TRACE() { Event::trace(visitor); }
private:
- CloseEvent()
- : Event(EventTypeNames::close, false, false),
- m_wasClean(false),
- m_code(0) {}
+ CloseEvent() : m_wasClean(false), m_code(0) {}
CloseEvent(bool wasClean, int code, const String& reason)
: Event(EventTypeNames::close, false, false),
« no previous file with comments | « third_party/WebKit/Source/core/events/PopStateEvent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698