| Index: third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp b/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
|
| index de92c36abf0028b0109a49d4064f66a87e07aa2c..5216a08a3cb6d2544d31681f1394d38ed90dbd14 100644
|
| --- a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
|
| +++ b/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
|
| @@ -108,7 +108,7 @@ ScriptPromise NavigatorShare::share(ScriptState* scriptState,
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
|
| ShareClientImpl* client = new ShareClientImpl(this, resolver);
|
| - m_clients.add(client);
|
| + m_clients.insert(client);
|
| ScriptPromise promise = resolver->promise();
|
|
|
| m_service->Share(shareData.hasTitle() ? shareData.title() : emptyString(),
|
|
|