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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerClipper.h

Issue 2371523002: Apply SVG root viewport clips in PaintLayerClipper. (Closed)
Patch Set: none Created 4 years, 3 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/PaintLayerClipper.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
index c3ad800e810459a338fe16444bad878dd48d51ef..e244fa8db464853120de7fb2a64975f3452a8afc 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -74,8 +74,8 @@ public:
void setIgnoreOverflowClip()
{
- ASSERT(!usesCache() || m_cacheSlot == PaintingClipRects);
- ASSERT(respectOverflowClip == RespectOverflowClip);
+ DCHECK(!usesCache() || m_cacheSlot == PaintingClipRects);
+ DCHECK(respectOverflowClip == RespectOverflowClip);
if (usesCache())
m_cacheSlot = PaintingClipRectsIgnoringOverflowClip;
respectOverflowClip = IgnoreOverflowClip;
« no previous file with comments | « third_party/WebKit/Source/core/layout/ClipRectsCache.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698