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 594e77f6ec6e56c14af92643373be01fd657b64f..6fb373c3c4938c80e61e10848e91c9b51dd4cdcd 100644 |
--- a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp |
+++ b/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp |
@@ -104,11 +104,8 @@ |
m_clients.add(client); |
ScriptPromise promise = resolver->promise(); |
- m_service->Share( |
- shareData.hasTitle() ? shareData.title() : emptyString(), |
- shareData.hasText() ? shareData.text() : emptyString(), |
- doc->completeURL(shareData.url()), |
- convertToBaseCallback(WTF::bind(&ShareClientImpl::callback, wrapPersistent(client)))); |
+ // TODO(sammc): Use shareData.url(). |
+ m_service->Share(shareData.hasTitle() ? shareData.title() : emptyString(), shareData.hasText() ? shareData.text() : emptyString(), convertToBaseCallback(WTF::bind(&ShareClientImpl::callback, wrapPersistent(client)))); |
return promise; |
} |