| 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 5c8c403dcdaf6ca11ff80d56ba709007b2c17c48..db8383d778c3d1564f6db2a2be374ef2869f8322 100644
|
| --- a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| +++ b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| @@ -105,7 +105,7 @@ bool NavigatorVibration::vibrate(Navigator& navigator,
|
| // static
|
| void NavigatorVibration::collectHistogramMetrics(const LocalFrame& frame) {
|
| NavigatorVibrationType type;
|
| - bool userGesture = UserGestureIndicator::processingUserGesture();
|
| + bool userGesture = frame.hasReceivedUserGesture();
|
| UseCounter::count(&frame, UseCounter::NavigatorVibrate);
|
| if (!frame.isMainFrame()) {
|
| UseCounter::count(&frame, UseCounter::NavigatorVibrateSubFrame);
|
|
|