Remove unused method from Vibration
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2014 04:15:51 +0000 (04:15 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2014 04:15:51 +0000 (04:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=129732

Reviewed by Gyuyoung Kim.

* Modules/vibration/Vibration.cpp:
Removed isActive(), which is never called since r152441.
* Modules/vibration/Vibration.h: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165168 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/vibration/Vibration.cpp
Source/WebCore/Modules/vibration/Vibration.h

index b9ec940..3f371ce 100644 (file)
@@ -1,3 +1,14 @@
+2014-03-05  Ryuan Choi  <ryuan.choi@samsung.com>
+
+        Remove unused method from Vibration
+        https://bugs.webkit.org/show_bug.cgi?id=129732
+
+        Reviewed by Gyuyoung Kim.
+
+        * Modules/vibration/Vibration.cpp:
+        Removed isActive(), which is never called since r152441.
+        * Modules/vibration/Vibration.h: Ditto.
+
 2014-03-05  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r165141, r165157, and r165158.
index e035fb7..ba47e14 100644 (file)
@@ -127,11 +127,6 @@ const char* Vibration::supplementName()
     return "Vibration";
 }
 
-bool Vibration::isActive(Page* page)
-{
-    return static_cast<bool>(Vibration::from(page));
-}
-
 void provideVibrationTo(Page* page, VibrationClient* client)
 {
     Vibration::provideTo(page, Vibration::supplementName(), Vibration::create(client));
index c0be574..e54083a 100644 (file)
@@ -50,7 +50,6 @@ public:
 
     static const char* supplementName();
     static Vibration* from(Page* page) { return static_cast<Vibration*>(Supplement<Page>::from(page, supplementName())); }
-    static bool isActive(Page*);
 
     bool isVibrating() { return m_isVibrating; }