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"; |
+ DCHECK(!node.NeedsDistributionRecalc()); |
+ } |
DCHECK(node.CanParticipateInFlatTree()); |
} |