Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp

Issue 2437943002: Ship WebBluetooth out of origin trial (Closed)
Patch Set: address more comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d5260ee36f14dfb649fb1cb2b361dd771a2989bc..5213e83fb6f3357c5bcce680b3992a7247b2040c 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
@@ -47,11 +47,6 @@ void installConditionalFeaturesForModules(
const DOMWrapperWorld& world = scriptState->world();
v8::Local<v8::Object> global = scriptState->context()->Global();
if (wrapperTypeInfo == &V8Navigator::wrapperTypeInfo) {
- if (OriginTrials::webBluetoothEnabled(executionContext)) {
- V8NavigatorPartial::installWebBluetooth(isolate, world,
- v8::Local<v8::Object>(),
- prototypeObject, interfaceObject);
- }
if (OriginTrials::webShareEnabled(executionContext)) {
V8NavigatorPartial::installWebShare(isolate, world,
v8::Local<v8::Object>(),
@@ -66,10 +61,6 @@ void installConditionalFeaturesForModules(
interfaceObject);
}
} else if (wrapperTypeInfo == &V8Window::wrapperTypeInfo) {
- if (OriginTrials::webBluetoothEnabled(executionContext)) {
- V8WindowPartial::installWebBluetooth(isolate, world, global,
- prototypeObject, interfaceObject);
- }
if (OriginTrials::webUSBEnabled(executionContext)) {
V8WindowPartial::installWebUSB(isolate, world, global, prototypeObject,
interfaceObject);

Powered by Google App Engine
This is Rietveld 408576698