Index: third_party/WebKit/Source/core/events/MessageEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/MessageEvent.cpp b/third_party/WebKit/Source/core/events/MessageEvent.cpp |
index d5cc6305d06a23ed528c51e0392b24a66ba493b2..da7b1d0c71b4737169b8ddde8f9ebdf80eed3468 100644 |
--- a/third_party/WebKit/Source/core/events/MessageEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/MessageEvent.cpp |
@@ -82,7 +82,7 @@ MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, |
const String& suborigin) |
: Event(EventTypeNames::message, false, false), |
m_dataType(DataTypeSerializedScriptValue), |
- m_dataAsSerializedScriptValue(data), |
+ m_dataAsSerializedScriptValue(std::move(data)), |
m_origin(origin), |
m_lastEventId(lastEventId), |
m_source(source), |
@@ -101,7 +101,7 @@ MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, |
const String& suborigin) |
: Event(EventTypeNames::message, false, false), |
m_dataType(DataTypeSerializedScriptValue), |
- m_dataAsSerializedScriptValue(data), |
+ m_dataAsSerializedScriptValue(std::move(data)), |
m_origin(origin), |
m_lastEventId(lastEventId), |
m_source(source), |