| 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 098a4180c05a7ff283381be8899540340aea9b0e..4f8804f3ea25b1d7d87ec5d75381b91129b71801 100644
|
| --- a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| +++ b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp
|
| @@ -611,6 +611,13 @@ void installOriginTrialsForModules(ScriptState* scriptState)
|
| }
|
| }
|
|
|
| + if (!originTrialContext->featureBindingsInstalled("WebShare") && (RuntimeEnabledFeatures::webShareEnabled() || originTrialContext->isFeatureEnabled("WebShare"))) {
|
| + if (executionContext->isDocument()) {
|
| + // For navigator interfaces e.g. navigator.share.
|
| + V8NavigatorPartial::installWebShare(scriptState);
|
| + }
|
| + }
|
| +
|
| if (!originTrialContext->featureBindingsInstalled("WebUSB") && (RuntimeEnabledFeatures::webUSBEnabled() || originTrialContext->isFeatureEnabled("WebUSB"))) {
|
| if (executionContext->isDocument()) {
|
| // For global interfaces e.g. USBInterface.
|
|
|