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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix 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/resolver/StyleBuilderConverter.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
index 178f3c4f8e62f6ca2781858dc455a3eb57f97569..d7f165302bd2963fe4db136bad08c947a0ca1f09 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp
@@ -1175,7 +1175,7 @@ ScrollSnapPoints StyleBuilderConverter::convertSnapPoints(
return points;
const CSSFunctionValue& repeatFunction = toCSSFunctionValue(value);
- ASSERT_WITH_SECURITY_IMPLICATION(repeatFunction.length() == 1);
+ SECURITY_DCHECK(repeatFunction.length() == 1);
points.repeatOffset =
convertLength(state, toCSSPrimitiveValue(repeatFunction.item(0)));
points.hasRepeat = true;

Powered by Google App Engine
This is Rietveld 408576698