Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
index 4a33eb8f9fd3c3681f191a87f324661d38987007..7d71f1b9105d8de85a088945826cb2b7e214565c 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp |
@@ -117,8 +117,8 @@ String createShorthandValue(Document* document, |
CSSStyleRule* rule = toCSSStyleRule(styleSheet->item(0)); |
CSSStyleDeclaration* style = rule->style(); |
DummyExceptionStateForTesting exceptionState; |
- style->setProperty(nullptr, longhand, newValue, |
- style->getPropertyPriority(longhand), exceptionState); |
+ style->setProperty(longhand, newValue, style->getPropertyPriority(longhand), |
+ exceptionState); |
return style->getPropertyValue(shorthand); |
} |