| Index: third_party/WebKit/Source/modules/serviceworkers/ExtendableMessageEvent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ExtendableMessageEvent.cpp b/third_party/WebKit/Source/modules/serviceworkers/ExtendableMessageEvent.cpp
|
| index c37b239c6a0ff04ac4741b015bad1625000e90a8..1ec3cc1ac6c5d21594b912cd1bf19263b6d52e76 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ExtendableMessageEvent.cpp
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ExtendableMessageEvent.cpp
|
| @@ -51,24 +51,17 @@ ExtendableMessageEvent* ExtendableMessageEvent::Create(
|
| return event;
|
| }
|
|
|
| -MessagePortArray ExtendableMessageEvent::ports(bool& is_null) const {
|
| +MessagePortArray ExtendableMessageEvent::ports() const {
|
| // TODO(bashi): Currently we return a copied array because the binding
|
| // layer could modify the content of the array while executing JS callbacks.
|
| // Avoid copying once we can make sure that the binding layer won't
|
| // modify the content.
|
| if (ports_) {
|
| - is_null = false;
|
| return *ports_;
|
| }
|
| - is_null = true;
|
| return MessagePortArray();
|
| }
|
|
|
| -MessagePortArray ExtendableMessageEvent::ports() const {
|
| - bool unused;
|
| - return ports(unused);
|
| -}
|
| -
|
| void ExtendableMessageEvent::source(
|
| ClientOrServiceWorkerOrMessagePort& result) const {
|
| if (source_as_client_)
|
|
|