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

Unified Diff: Source/core/dom/MessageEvent.cpp

Issue 23591059: Use null Strings for default values of MessageEvent properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert nit Created 7 years, 3 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 | « Source/core/dom/MessageEvent.h ('k') | Source/core/page/DOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MessageEvent.cpp
diff --git a/Source/core/dom/MessageEvent.cpp b/Source/core/dom/MessageEvent.cpp
index 351275ceea98cbbad2501f616afb7d7532f02755..2bfbf006187b99a9a87726e1f4cbb3f924437be0 100644
--- a/Source/core/dom/MessageEvent.cpp
+++ b/Source/core/dom/MessageEvent.cpp
@@ -92,7 +92,6 @@ MessageEvent::MessageEvent(const String& data, const String& origin)
, m_dataType(DataTypeString)
, m_dataAsString(data)
, m_origin(origin)
- , m_lastEventId("")
{
ScriptWrappable::init(this);
}
@@ -102,7 +101,6 @@ MessageEvent::MessageEvent(PassRefPtr<Blob> data, const String& origin)
, m_dataType(DataTypeBlob)
, m_dataAsBlob(data)
, m_origin(origin)
- , m_lastEventId("")
{
ScriptWrappable::init(this);
}
@@ -112,7 +110,6 @@ MessageEvent::MessageEvent(PassRefPtr<ArrayBuffer> data, const String& origin)
, m_dataType(DataTypeArrayBuffer)
, m_dataAsArrayBuffer(data)
, m_origin(origin)
- , m_lastEventId("")
{
ScriptWrappable::init(this);
}
« no previous file with comments | « Source/core/dom/MessageEvent.h ('k') | Source/core/page/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698