| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
| index 1d4feea01ca77f1748ca27efac915c6b89924eb5..a7d34989b844579875d597528d31d003b1608d5a 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
| @@ -166,8 +166,7 @@ void V8CSSStyleDeclaration::namedPropertyEnumeratorCustom(const v8::PropertyCall
|
| for (unsigned i = 0; i < propertyNamesLength; ++i) {
|
| String key = propertyNames.at(i);
|
| ASSERT(!key.isNull());
|
| - v8::Local<v8::Integer> index = v8::Integer::New(info.GetIsolate(), i);
|
| - if (!v8CallBoolean(properties->Set(context, index, v8String(info.GetIsolate(), key))))
|
| + if (!v8CallBoolean(properties->CreateDataProperty(context, i, v8String(info.GetIsolate(), key))))
|
| return;
|
| }
|
|
|
|
|