| Index: third_party/WebKit/Source/modules/vibration/testing/InternalsVibration.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vibration/testing/InternalsVibration.cpp b/third_party/WebKit/Source/modules/vibration/testing/InternalsVibration.cpp
|
| index 5c7c6791e7ad677a022900460fd5c01cb964175b..814c78ebc34a02e5ffae303dbe622e5cf53cbd58 100644
|
| --- a/third_party/WebKit/Source/modules/vibration/testing/InternalsVibration.cpp
|
| +++ b/third_party/WebKit/Source/modules/vibration/testing/InternalsVibration.cpp
|
| @@ -40,13 +40,13 @@ namespace blink {
|
| bool InternalsVibration::isVibrating(Internals&, Navigator* navigator)
|
| {
|
| DCHECK(navigator && navigator->frame());
|
| - return NavigatorVibration::from(*navigator).controller()->isRunning();
|
| + return NavigatorVibration::from(*navigator).controller(*navigator->frame())->isRunning();
|
| }
|
|
|
| Vector<unsigned> InternalsVibration::pendingVibrationPattern(Internals&, Navigator* navigator)
|
| {
|
| DCHECK(navigator && navigator->frame());
|
| - return NavigatorVibration::from(*navigator).controller()->pattern();
|
| + return NavigatorVibration::from(*navigator).controller(*navigator->frame())->pattern();
|
| }
|
|
|
| } // namespace blink
|
|
|