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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update generic test expectations Created 3 years, 7 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/dom/shadow/FlatTreeTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
index f8288ed19cd728045abe8ae48aa585a28232fe07..15bb820a30f60cdbee85b1444b8799a0a8448506 100644
--- a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
+++ b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.h
@@ -125,7 +125,10 @@ class CORE_EXPORT FlatTreeTraversal {
};
static void AssertPrecondition(const Node& node) {
- DCHECK(!node.NeedsDistributionRecalc());
+ if (node.NeedsDistributionRecalc()) {
+ LOG(INFO) << node << " needs recalc";
esprehn 2017/05/12 21:16:54 This is called all over the place, you're making t
aboxhall 2017/05/18 01:30:49 Done.
+ DCHECK(!node.NeedsDistributionRecalc());
esprehn 2017/05/12 21:16:54 Revert this change to just DCHECK.
aboxhall 2017/05/18 01:30:49 Done.
+ }
DCHECK(node.CanParticipateInFlatTree());
}

Powered by Google App Engine
This is Rietveld 408576698