| 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 b4dd1b77011ea8b5bf442281fe2b681abb63fc76..4ff4d914063348e76e2cab903fb06aa22ba6f66a 100644
|
| --- a/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| +++ b/third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp
|
| @@ -104,7 +104,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);
|
|
|