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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index e5f4ce0cc0193992b4f5629d9a2c1368124a944f..405f8e31c860472e9438c5859e0ee446d25c205a 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -118,8 +118,8 @@ static CSSValueList* createPositionListForLayer(CSSPropertyID propertyID,
const ComputedStyle& style) {
CSSValueList* positionList = CSSValueList::createSpaceSeparated();
if (layer.isBackgroundXOriginSet()) {
- ASSERT_UNUSED(propertyID, propertyID == CSSPropertyBackgroundPosition ||
- propertyID == CSSPropertyWebkitMaskPosition);
+ DCHECK(propertyID == CSSPropertyBackgroundPosition ||
+ propertyID == CSSPropertyWebkitMaskPosition);
positionList->append(
*CSSIdentifierValue::create(layer.backgroundXOrigin()));
}

Powered by Google App Engine
This is Rietveld 408576698