| Index: Source/core/html/ImageData.cpp
|
| diff --git a/Source/core/html/ImageData.cpp b/Source/core/html/ImageData.cpp
|
| index 4313235538fe9ed050d52761bc4bcd3babfcd08d..f508be629744f344dddcfac8af6a96513456fee7 100644
|
| --- a/Source/core/html/ImageData.cpp
|
| +++ b/Source/core/html/ImageData.cpp
|
| @@ -141,7 +141,7 @@ v8::Local<v8::Object> ImageData::associateWithWrapper(v8::Isolate* isolate, cons
|
| // of the ImageData object to the created v8 object, eliminating the
|
| // C++ callback when accessing the "data" property.
|
| v8::Local<v8::Value> pixelArray = toV8(m_data.get(), wrapper, isolate);
|
| - if (pixelArray.IsEmpty() || !v8CallBoolean(wrapper->ForceSet(isolate->GetCurrentContext(), v8AtomicString(isolate, "data"), pixelArray, v8::ReadOnly)))
|
| + if (pixelArray.IsEmpty() || !v8CallBoolean(wrapper->DefineOwnProperty(isolate->GetCurrentContext(), v8AtomicString(isolate, "data"), pixelArray, v8::ReadOnly)))
|
| return v8::Local<v8::Object>();
|
| }
|
| return wrapper;
|
|
|