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

Unified Diff: third_party/WebKit/Source/core/paint/SVGMaskPainter.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/paint/SVGMaskPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp b/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
index ded5b28fc8614086da3bcd3fedca63dfa132e65b..73e5b2a3f348ee3ff65a6470b5925341ffb49275 100644
--- a/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
@@ -18,7 +18,7 @@ namespace blink {
bool SVGMaskPainter::prepareEffect(const LayoutObject& object,
GraphicsContext& context) {
ASSERT(m_mask.style());
- ASSERT_WITH_SECURITY_IMPLICATION(!m_mask.needsLayout());
+ SECURITY_DCHECK(!m_mask.needsLayout());
m_mask.clearInvalidationMask();
@@ -35,7 +35,7 @@ bool SVGMaskPainter::prepareEffect(const LayoutObject& object,
void SVGMaskPainter::finishEffect(const LayoutObject& object,
GraphicsContext& context) {
ASSERT(m_mask.style());
- ASSERT_WITH_SECURITY_IMPLICATION(!m_mask.needsLayout());
+ SECURITY_DCHECK(!m_mask.needsLayout());
FloatRect paintInvalidationRect =
object.paintInvalidationRectInLocalSVGCoordinates();
« no previous file with comments | « third_party/WebKit/Source/core/page/WindowFeatures.cpp ('k') | third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698