Index: Source/modules/vibration/NavigatorVibration.h |
diff --git a/Source/modules/vibration/NavigatorVibration.h b/Source/modules/vibration/NavigatorVibration.h |
index aef7c3a512ee978d7c96a730e13207769e53c79f..297ad6d57f36595f1d4e225e0b6ddf69f5eccacd 100644 |
--- a/Source/modules/vibration/NavigatorVibration.h |
+++ b/Source/modules/vibration/NavigatorVibration.h |
@@ -20,9 +20,6 @@ |
#ifndef NavigatorVibration_h |
#define NavigatorVibration_h |
-#if ENABLE(VIBRATION) |
- |
-#include "core/dom/ExceptionCode.h" |
#include "wtf/Vector.h" |
namespace WebCore { |
@@ -34,8 +31,8 @@ class NavigatorVibration { |
public: |
typedef Vector<unsigned> VibrationPattern; |
- static void vibrate(Navigator*, unsigned time, ExceptionCode&); |
- static void vibrate(Navigator*, const VibrationPattern&, ExceptionCode&); |
+ static void vibrate(Navigator*, unsigned time); |
+ static void vibrate(Navigator*, const VibrationPattern&); |
private: |
NavigatorVibration(); |
Peter Beverloo
2013/06/11 13:50:12
Do we need the constructor and destructor? They'r
Michael van Ouwerkerk
2013/06/11 14:16:43
Let's just leave a private constructor then.
|
@@ -44,7 +41,4 @@ private: |
} // namespace WebCore |
-#endif // ENABLE(VIBRATION) |
- |
#endif // NavigatorVibration_h |
- |