| Index: Source/bindings/core/v8/V8LazyEventListener.cpp
|
| diff --git a/Source/bindings/core/v8/V8LazyEventListener.cpp b/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| index 6b36c50e3ca671968cb0c2863f4d937909debb2d..5e6444437c2661c9e27b9b3b2d0e63b68a7b5329 100644
|
| --- a/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| +++ b/Source/bindings/core/v8/V8LazyEventListener.cpp
|
| @@ -184,11 +184,11 @@ void V8LazyEventListener::prepareListenerObject(ExecutionContext* executionConte
|
| v8::Local<v8::Object> thisObject = v8::Object::New(isolate());
|
| if (thisObject.IsEmpty())
|
| return;
|
| - if (!v8CallBoolean(thisObject->ForceSet(scriptState->context(), v8::Integer::New(isolate(), 0), nodeWrapper)))
|
| + if (!v8CallBoolean(thisObject->CreateDataProperty(scriptState->context(), 0, nodeWrapper)))
|
| return;
|
| - if (!v8CallBoolean(thisObject->ForceSet(scriptState->context(), v8::Integer::New(isolate(), 1), formWrapper)))
|
| + if (!v8CallBoolean(thisObject->CreateDataProperty(scriptState->context(), 1, formWrapper)))
|
| return;
|
| - if (!v8CallBoolean(thisObject->ForceSet(scriptState->context(), v8::Integer::New(isolate(), 2), documentWrapper)))
|
| + if (!v8CallBoolean(thisObject->CreateDataProperty(scriptState->context(), 2, documentWrapper)))
|
| return;
|
|
|
| // FIXME: Remove this code when we stop doing the 'with' hack above.
|
|
|