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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2631193002: Make having an existing ancestor overflow layer when adding a PaintLayer fatal. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 62a1ce16e876f295d51ecba6a033efc97d0e7185..77b9cddafecb866ce990f62ccc2089e1fa3b3102 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -1229,7 +1229,7 @@ void PaintLayer::addChild(PaintLayer* child, PaintLayer* beforeChild) {
// The ancestor overflow layer is calculated during compositing inputs update
// and should not be set yet.
- DCHECK(!child->ancestorOverflowLayer());
+ CHECK(!child->ancestorOverflowLayer());
setNeedsCompositingInputsUpdate();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698