Index: Source/modules/vibration/testing/InternalsVibration.cpp |
diff --git a/Source/modules/vibration/testing/InternalsVibration.cpp b/Source/modules/vibration/testing/InternalsVibration.cpp |
index a22bb0117b29d31b7e92e679e2b6209a6bd107fe..01ce84151d57fe5543288dc65892c6c2f82d9cda 100644 |
--- a/Source/modules/vibration/testing/InternalsVibration.cpp |
+++ b/Source/modules/vibration/testing/InternalsVibration.cpp |
@@ -37,16 +37,16 @@ |
namespace WebCore { |
-bool InternalsVibration::isVibrating(Internals* internals, Document* document) |
+bool InternalsVibration::isVibrating(Internals&, Document* document) |
{ |
- ASSERT(internals && document && document->page()); |
- return NavigatorVibration::from(document->page())->isVibrating(); |
+ ASSERT(document && document->page()); |
+ return NavigatorVibration::from(*document->page()).isVibrating(); |
} |
-Vector<unsigned> InternalsVibration::pendingVibrationPattern(Internals* internals, Document* document) |
+Vector<unsigned> InternalsVibration::pendingVibrationPattern(Internals&, Document* document) |
{ |
- ASSERT(internals && document && document->page()); |
- return NavigatorVibration::from(document->page())->pattern(); |
+ ASSERT(document && document->page()); |
+ return NavigatorVibration::from(*document->page()).pattern(); |
} |
} // namespace WebCore |