Index: content/public/common/presentation_connection_message.cc |
diff --git a/content/public/common/presentation_connection_message.cc b/content/public/common/presentation_connection_message.cc |
index 222e2141ac37ace61f429447d9bac1ebe52d5003..41fc20117a0a03800a1572686d441017e37e4b7e 100644 |
--- a/content/public/common/presentation_connection_message.cc |
+++ b/content/public/common/presentation_connection_message.cc |
@@ -23,7 +23,13 @@ PresentationConnectionMessage::PresentationConnectionMessage( |
: data(std::move(data)) {} |
PresentationConnectionMessage::PresentationConnectionMessage( |
- PresentationConnectionMessage&& other) = default; |
+ const PresentationConnectionMessage& other) = default; |
+ |
+// Note: "move constructor noexcept = default" currently does not compile on |
+// Windows and Android (crbug.com/706963). |
+PresentationConnectionMessage::PresentationConnectionMessage( |
+ PresentationConnectionMessage&& other) noexcept |
+ : message(std::move(other.message)), data(std::move(other.data)) {} |
PresentationConnectionMessage::~PresentationConnectionMessage() {} |
@@ -32,6 +38,9 @@ bool PresentationConnectionMessage::operator==( |
return this->data == other.data && this->message == other.message; |
} |
+PresentationConnectionMessage& PresentationConnectionMessage::operator=( |
+ const PresentationConnectionMessage& other) = default; |
+ |
PresentationConnectionMessage& PresentationConnectionMessage::operator=( |
PresentationConnectionMessage&& other) = default; |