| 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 0cc9c9baddb22283131baef596a38da60d55adc2..fb9dc2d268d490ac3aa256844736a8fdbc812902 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
| @@ -203,6 +203,7 @@ void V8CSSStyleDeclaration::namedPropertyGetterCustom(v8::Local<v8::Name> name,
|
| CSSPropertyID resolvedProperty = resolveCSSPropertyID(unresolvedProperty);
|
|
|
| CSSStyleDeclaration* impl = V8CSSStyleDeclaration::toImpl(info.Holder());
|
| + // TODO(leviw): This API doesn't support custom properties.
|
| RefPtrWillBeRawPtr<CSSValue> cssValue = impl->getPropertyCSSValueInternal(resolvedProperty);
|
| if (cssValue) {
|
| v8SetReturnValueStringOrNull(info, cssValue->cssText(), info.GetIsolate());
|
| @@ -224,7 +225,8 @@ void V8CSSStyleDeclaration::namedPropertySetterCustom(v8::Local<v8::Name> name,
|
|
|
| TOSTRING_VOID(V8StringResource<TreatNullAsNullString>, propertyValue, value);
|
| ExceptionState exceptionState(ExceptionState::SetterContext, getPropertyName(resolveCSSPropertyID(unresolvedProperty)), "CSSStyleDeclaration", info.Holder(), info.GetIsolate());
|
| - impl->setPropertyInternal(unresolvedProperty, propertyValue, false, exceptionState);
|
| + // TODO(leviw): This API doesn't support custom properties.
|
| + impl->setPropertyInternal(unresolvedProperty, String(), propertyValue, false, exceptionState);
|
|
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
|
|