Index: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 1efc3a647cc936996fb7e059f95221bb30674df3..2b1a7d97ddc16ab1f4114b418ba9098fd462a7a2 100644 |
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -677,8 +677,9 @@ String CSSComputedStyleDeclaration::getPropertyValueInternal(CSSPropertyID prope |
return getPropertyValue(propertyID); |
} |
-void CSSComputedStyleDeclaration::setPropertyInternal(CSSPropertyID id, const String&, bool, ExceptionState& exceptionState) |
+void CSSComputedStyleDeclaration::setPropertyInternal(CSSPropertyID id, const String&, const String&, bool, ExceptionState& exceptionState) |
{ |
+ // TODO(leviw): This code is currently unreachable, but shouldn't be. |
exceptionState.throwDOMException(NoModificationAllowedError, "These styles are computed, and therefore the '" + getPropertyNameString(id) + "' property is read-only."); |
} |