| Index: third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| index 77c0ce17a2369290356d15bd872b5cb3c38f69a3..c722974921d72a616c89aca15e6e3b2f9b4e9bc9 100644
|
| --- a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| +++ b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| @@ -81,7 +81,8 @@ bool NavigatorVibration::vibrate(Navigator& navigator,
|
|
|
| // TODO(lunalu): When FeaturePolicy is ready, take out the check for the
|
| // runtime flag.
|
| - if (!isFeatureEnabledInFrame(blink::kVibrateFeature, frame)) {
|
| + if (!isFeatureEnabledInFrame(blink::WebFeaturePolicyFeature::Vibrate,
|
| + frame)) {
|
| if (RuntimeEnabledFeatures::featurePolicyEnabled()) {
|
| frame->domWindow()->printErrorMessage(
|
| "Navigator.vibrate() is not enabled in feature policy for this "
|
|
|