| Index: third_party/WebKit/Source/modules/webshare/NavigatorShare.h
|
| diff --git a/third_party/WebKit/Source/modules/webshare/NavigatorShare.h b/third_party/WebKit/Source/modules/webshare/NavigatorShare.h
|
| index f85a1216760f67350039edb59328ef1e9603571f..5e4578ffd594a8831252c40111b58f74e3a7a1ee 100644
|
| --- a/third_party/WebKit/Source/modules/webshare/NavigatorShare.h
|
| +++ b/third_party/WebKit/Source/modules/webshare/NavigatorShare.h
|
| @@ -18,6 +18,7 @@
|
| namespace blink {
|
|
|
| class Navigator;
|
| +class ShareData;
|
|
|
| class NavigatorShare final : public GarbageCollectedFinalized<NavigatorShare>, public Supplement<Navigator> {
|
| USING_GARBAGE_COLLECTED_MIXIN(NavigatorShare);
|
| @@ -29,8 +30,8 @@ public:
|
| static NavigatorShare& from(Navigator&);
|
|
|
| // Navigator partial interface
|
| - ScriptPromise share(ScriptState*, const String& title, const String& text);
|
| - static ScriptPromise share(ScriptState*, Navigator&, const String& title, const String& text);
|
| + ScriptPromise share(ScriptState*, const ShareData&);
|
| + static ScriptPromise share(ScriptState*, Navigator&, const ShareData&);
|
|
|
| DECLARE_TRACE();
|
|
|
|
|