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..942efd957d43cb92ee3ecbf0490b15c89cdd178c 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp |
@@ -224,7 +224,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. |
Timothy Loh
2015/11/14 02:21:05
Just checking, the function we're in is for foo.st
leviw_travelin_and_unemployed
2015/11/17 01:25:07
That's correct.
|
+ impl->setPropertyInternal(unresolvedProperty, String(), propertyValue, false, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |