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

Unified Diff: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp

Issue 2814153002: Move feature policy vibrate tests to correct directory (Closed)
Patch Set: Bug fix Created 3 years, 8 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/platform/feature_policy/FeaturePolicy.cpp
diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
index 2466e0e5d3a7c591f7f6b00d9aca695303bbc47b..25c09d2a972b460600c13112f1c2f83908d4d981 100644
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
@@ -17,9 +17,9 @@ WebFeaturePolicyFeature GetWebFeaturePolicyFeature(const String& feature) {
return WebFeaturePolicyFeature::kFullscreen;
if (feature == "payment")
return WebFeaturePolicyFeature::kPayment;
- if (feature == "vibrate")
- return WebFeaturePolicyFeature::kVibrate;
if (RuntimeEnabledFeatures::featurePolicyExperimentalFeaturesEnabled()) {
+ if (feature == "vibrate")
+ return WebFeaturePolicyFeature::kVibrate;
if (feature == "camera")
return WebFeaturePolicyFeature::kCamera;
if (feature == "eme")

Powered by Google App Engine
This is Rietveld 408576698