summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/ScriptController.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/bindings/v8/ScriptController.h')
-rw-r--r--webkit/port/bindings/v8/ScriptController.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/webkit/port/bindings/v8/ScriptController.h b/webkit/port/bindings/v8/ScriptController.h
index be4c6b4..1d580fe 100644
--- a/webkit/port/bindings/v8/ScriptController.h
+++ b/webkit/port/bindings/v8/ScriptController.h
@@ -211,29 +211,6 @@ public:
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 @@ public:
#endif
private:
- static bool m_recordPlaybackMode;
- static bool m_shouldExposeGCController;
-
Frame* m_frame;
const String* m_sourceURL;