| Index: Source/core/html/ImageData.cpp
|
| diff --git a/Source/core/html/ImageData.cpp b/Source/core/html/ImageData.cpp
|
| index 4313235538fe9ed050d52761bc4bcd3babfcd08d..224e6d585ffaf0d3bb2a3cde8358318f61026560 100644
|
| --- a/Source/core/html/ImageData.cpp
|
| +++ b/Source/core/html/ImageData.cpp
|
| @@ -140,6 +140,8 @@ v8::Local<v8::Object> ImageData::associateWithWrapper(v8::Isolate* isolate, cons
|
| // Create a V8 Uint8ClampedArray object and set the "data" property
|
| // of the ImageData object to the created v8 object, eliminating the
|
| // C++ callback when accessing the "data" property.
|
| + // TODO(bashi): Use CreateDataProperty() instead of ForceSet().
|
| + // http://crbug.com/475206
|
| 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)))
|
| return v8::Local<v8::Object>();
|
|
|