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

Unified Diff: third_party/WebKit/Source/modules/vibration/testing/InternalsVibration.cpp

Issue 2138003002: Remove DOMWindowProperty::willDetachGlobalObjectFromFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/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

Powered by Google App Engine
This is Rietveld 408576698