| Index: third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| index 9be91610ee1edda69a3e73de1130f51812dd5a9c..cae2275ad6dfb180193e508adf25632a4f51f4c5 100644
|
| --- a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| +++ b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| @@ -568,6 +568,13 @@ void installOriginTrialsForModules(ScriptState* scriptState)
|
| V8NavigatorPartial::installWebBluetooth(scriptState);
|
| }
|
| }
|
| +
|
| + if (!originTrialContext->featureBindingsInstalled("WebShare") && (RuntimeEnabledFeatures::webShareEnabled() || originTrialContext->isFeatureEnabled("WebShare"))) {
|
| + if (executionContext->isDocument()) {
|
| + // For navigator interfaces e.g. navigator.share.
|
| + V8NavigatorPartial::installWebShare(scriptState);
|
| + }
|
| + }
|
| }
|
|
|
| void registerInstallOriginTrialsForModules()
|
|
|