| Index: third_party/WebKit/Source/bindings/core/v8/V8IteratorResultValue.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8IteratorResultValue.cpp b/third_party/WebKit/Source/bindings/core/v8/V8IteratorResultValue.cpp
|
| index 9cd406359926bf28b5604fba6e16fd9a4801d527..8ac33c2cbc4b61675bc6a62dd6c49a13efba1af6 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8IteratorResultValue.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8IteratorResultValue.cpp
|
| @@ -11,8 +11,8 @@ v8::Local<v8::Object> v8IteratorResultValue(v8::Isolate* isolate, bool done, v8:
|
| v8::Local<v8::Object> result = v8::Object::New(isolate);
|
| if (value.IsEmpty())
|
| value = v8::Undefined(isolate);
|
| - if (!v8CallBoolean(result->Set(isolate->GetCurrentContext(), v8String(isolate, "done"), v8Boolean(done, isolate)))
|
| - || !v8CallBoolean(result->Set(isolate->GetCurrentContext(), v8String(isolate, "value"), value)))
|
| + if (!v8CallBoolean(result->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "done"), v8Boolean(done, isolate)))
|
| + || !v8CallBoolean(result->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "value"), value)))
|
| return v8::Local<v8::Object>();
|
| return result;
|
| }
|
|
|