[Chromium] Remove WebRuntimeFeatures::{enablePushState,isPushStateEnabled}
authormihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2012 02:07:14 +0000 (02:07 +0000)
committermihaip@chromium.org <mihaip@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Sep 2012 02:07:14 +0000 (02:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=97506

Reviewed by Adam Barth.

These methods have been no-ops since r127674. All Chromium code that
called them was removed with http://crrev.com/155205.

* public/WebRuntimeFeatures.h:
(WebRuntimeFeatures):
* src/WebRuntimeFeatures.cpp:

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

Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/public/WebRuntimeFeatures.h
Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

index 411aa70..b8bc5b9 100644 (file)
@@ -1,3 +1,17 @@
+2012-09-24  Mihai Parparita  <mihaip@chromium.org>
+
+        [Chromium] Remove WebRuntimeFeatures::{enablePushState,isPushStateEnabled}
+        https://bugs.webkit.org/show_bug.cgi?id=97506
+
+        Reviewed by Adam Barth.
+
+        These methods have been no-ops since r127674. All Chromium code that
+        called them was removed with http://crrev.com/155205.
+
+        * public/WebRuntimeFeatures.h:
+        (WebRuntimeFeatures):
+        * src/WebRuntimeFeatures.cpp:
+
 2012-09-24  Mark Pilgrim  <pilgrim@chromium.org>
 
         [Chromium][Mac] Remove loadFont from PlatformSupport
index 6d0629f..64cf829 100644 (file)
@@ -76,10 +76,6 @@ public:
     WEBKIT_EXPORT static void enableWebAudio(bool);
     WEBKIT_EXPORT static bool isWebAudioEnabled();
 
-    // TODO: Remove these (since they're no-ops) once Chromium code stops calling them.
-    WEBKIT_EXPORT static void enablePushState(bool);
-    WEBKIT_EXPORT static bool isPushStateEnabled(bool);
-
     WEBKIT_EXPORT static void enableTouch(bool);
     WEBKIT_EXPORT static bool isTouchEnabled();
 
index bcdba86..4e64c66 100644 (file)
@@ -204,15 +204,6 @@ bool WebRuntimeFeatures::isWebAudioEnabled()
 #endif
 }
 
-void WebRuntimeFeatures::enablePushState(bool)
-{
-}
-
-bool WebRuntimeFeatures::isPushStateEnabled(bool enable)
-{
-    return true;
-}
-
 void WebRuntimeFeatures::enableTouch(bool enable)
 {
 #if ENABLE(TOUCH_EVENTS)