summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/v8_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/bindings/v8/v8_events.cpp')
-rw-r--r--webkit/port/bindings/v8/v8_events.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/port/bindings/v8/v8_events.cpp b/webkit/port/bindings/v8/v8_events.cpp
index 33bb48f..b088f15 100644
--- a/webkit/port/bindings/v8/v8_events.cpp
+++ b/webkit/port/bindings/v8/v8_events.cpp
@@ -429,10 +429,6 @@ v8::Local<v8::Function> V8LazyEventListener::GetWrappedListenerFunction() {
// TODO(fqian): cache the wrapper function.
String code = "(function (evt) {\n";
- // This variable records how many lines the code has been offset within the
- // source code to be evaluated
- int codeOffset = 2;
-
// Nodes other than the document object, when executing inline event
// handlers push document, form, and the target node on the scope chain.
// We do this by using 'with' statement.