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

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

Issue 2437943002: Ship WebBluetooth out of origin trial (Closed)
Patch Set: address 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 8e0a1bd25206510d00c0c22d048714952a622c2b..a25139d307f68e7449ac47bc6a392d05bc4f404e 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
@@ -49,13 +49,6 @@ void installConditionalFeaturesForModules(
const DOMWrapperWorld& world = scriptState->world();
v8::Local<v8::Object> global = scriptState->context()->Global();
if (wrapperTypeInfo == &V8Navigator::wrapperTypeInfo) {
- if (RuntimeEnabledFeatures::webBluetoothEnabled() ||
- (originTrialContext &&
- originTrialContext->isTrialEnabled("WebBluetooth"))) {
- V8NavigatorPartial::installWebBluetooth(isolate, world,
- v8::Local<v8::Object>(),
- prototypeObject, interfaceObject);
- }
if (RuntimeEnabledFeatures::webShareEnabled() ||
(originTrialContext &&
originTrialContext->isTrialEnabled("WebShare"))) {
@@ -74,12 +67,6 @@ void installConditionalFeaturesForModules(
interfaceObject);
}
} else if (wrapperTypeInfo == &V8Window::wrapperTypeInfo) {
- if (RuntimeEnabledFeatures::webBluetoothEnabled() ||
- (originTrialContext &&
- originTrialContext->isTrialEnabled("WebBluetooth"))) {
- V8WindowPartial::installWebBluetooth(isolate, world, global,
- prototypeObject, interfaceObject);
- }
if (RuntimeEnabledFeatures::webUSBEnabled() ||
(originTrialContext && originTrialContext->isTrialEnabled("WebUSB"))) {
V8WindowPartial::installWebUSB(isolate, world, global, prototypeObject,

Powered by Google App Engine
This is Rietveld 408576698