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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp

Issue 2398793003: [Origin Trials] Clarify the distinction between trials and features (Closed)
Patch Set: Rebase; -DurableStorage, +WebVR 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
index b775275a007229db2c813b4365f921959e47ea99..37bdfeb9f8513b1b5bedddb9e8672bd81bbc2b97 100644
--- a/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp
@@ -166,7 +166,7 @@ ScriptPromise Bluetooth::requestDevice(ScriptState* scriptState,
OriginTrialContext* originTrials = OriginTrialContext::from(
context, OriginTrialContext::DontCreateIfNotExists);
bool originTrialActiveForThisPage =
- originTrials && originTrials->isFeatureEnabled("WebBluetooth");
+ originTrials && originTrials->isTrialEnabled("WebBluetooth");
if (!originTrialActiveForThisPage && !promotedOriginTrial) {
promotedOriginTrial = true;
« no previous file with comments | « third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698