Index: webkit/port/bindings/v8/ScriptController.h |
=================================================================== |
--- webkit/port/bindings/v8/ScriptController.h (revision 10914) |
+++ webkit/port/bindings/v8/ScriptController.h (working copy) |
@@ -211,29 +211,6 @@ |
static void gcProtectJSWrapper(void* object); |
static void gcUnprotectJSWrapper(void* object); |
- // Get/Set RecordPlaybackMode flag. |
- // This is a special mode where JS helps the browser implement |
- // playback/record mode. Generally, in this mode, some functions |
- // of client-side randomness are removed. For example, in |
- // this mode Math.random() and Date.getTime() may not return |
- // values which vary. |
- static bool RecordPlaybackMode() { return m_recordPlaybackMode; } |
- static void setRecordPlaybackMode(bool value) { m_recordPlaybackMode = value; } |
- |
- // Set/Get ShouldExposeGCController flag. |
- // Some WebKit layout test need window.GCController.collect() to |
- // trigger GC, this flag lets the binding code expose |
- // window.GCController.collect() to the JavaScript code. |
- // |
- // GCController.collect() needs V8 engine expose gc() function by passing |
- // '--expose-gc' flag to the engine. |
- static bool shouldExposeGCController() { |
- return m_shouldExposeGCController; |
- } |
- static void setShouldExposeGCController(bool value) { |
- m_shouldExposeGCController = value; |
- } |
- |
void finishedWithEvent(Event*); |
void setEventHandlerLineno(int lineno); |
@@ -259,9 +236,6 @@ |
#endif |
private: |
- static bool m_recordPlaybackMode; |
- static bool m_shouldExposeGCController; |
- |
Frame* m_frame; |
const String* m_sourceURL; |