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

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

Issue 2146343002: Revert of Remove DOMWindowProperty::willDetachGlobalObjectFromFrame 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
« no previous file with comments | « third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 814c78ebc34a02e5ffae303dbe622e5cf53cbd58..5c7c6791e7ad677a022900460fd5c01cb964175b 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 @@
bool InternalsVibration::isVibrating(Internals&, Navigator* navigator)
{
DCHECK(navigator && navigator->frame());
- return NavigatorVibration::from(*navigator).controller(*navigator->frame())->isRunning();
+ return NavigatorVibration::from(*navigator).controller()->isRunning();
}
Vector<unsigned> InternalsVibration::pendingVibrationPattern(Internals&, Navigator* navigator)
{
DCHECK(navigator && navigator->frame());
- return NavigatorVibration::from(*navigator).controller(*navigator->frame())->pattern();
+ return NavigatorVibration::from(*navigator).controller()->pattern();
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698