Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp |
| diff --git a/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp |
| index 5213e83fb6f3357c5bcce680b3992a7247b2040c..f619466dbc66701cb5ef91c161c6e370f54a8f09 100644 |
| --- a/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp |
| +++ b/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp |
| @@ -13,6 +13,7 @@ |
| #include "bindings/modules/v8/V8DedicatedWorkerGlobalScopePartial.h" |
| #include "bindings/modules/v8/V8Gamepad.h" |
| #include "bindings/modules/v8/V8GamepadButton.h" |
| +#include "bindings/modules/v8/V8ImageCapture.h" |
|
Reilly Grant (use Gerrit)
2016/11/08 16:39:50
I don't think this include is required.
mcasas
2016/11/08 16:43:48
Done.
|
| #include "bindings/modules/v8/V8InstallEvent.h" |
| #include "bindings/modules/v8/V8NavigatorPartial.h" |
| #include "bindings/modules/v8/V8ServiceWorkerGlobalScope.h" |
| @@ -61,6 +62,10 @@ void installConditionalFeaturesForModules( |
| interfaceObject); |
| } |
| } else if (wrapperTypeInfo == &V8Window::wrapperTypeInfo) { |
| + if (OriginTrials::imageCaptureEnabled(executionContext)) { |
| + V8WindowPartial::installImageCapture(isolate, world, global, |
| + prototypeObject, interfaceObject); |
| + } |
| if (OriginTrials::webUSBEnabled(executionContext)) { |
| V8WindowPartial::installWebUSB(isolate, world, global, prototypeObject, |
| interfaceObject); |