Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(674)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp

Issue 2625303002: Fix CSSPropertySetterGetterMethods regression (Closed)
Patch Set: fix Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698