| Index: third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| index e5a8f03e312200c0886fdab0e54ca8567a6b43a8..16283c39d7cc536e214f975093acf33a8b239912 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
|
| @@ -254,9 +254,7 @@ bool ElementShadow::hasSameStyles(const ElementShadow* other) const
|
| const InsertionPoint* ElementShadow::finalDestinationInsertionPointFor(const Node* key) const
|
| {
|
| DCHECK(key);
|
| -#if DCHECK_IS_ON()
|
| DCHECK(!key->needsDistributionRecalc());
|
| -#endif
|
| NodeToDestinationInsertionPoints::const_iterator it = m_nodeToInsertionPoints.find(key);
|
| return it == m_nodeToInsertionPoints.end() ? nullptr : it->value->last();
|
| }
|
| @@ -264,9 +262,7 @@ const InsertionPoint* ElementShadow::finalDestinationInsertionPointFor(const Nod
|
| const DestinationInsertionPoints* ElementShadow::destinationInsertionPointsFor(const Node* key) const
|
| {
|
| DCHECK(key);
|
| -#if DCHECK_IS_ON()
|
| DCHECK(!key->needsDistributionRecalc());
|
| -#endif
|
| NodeToDestinationInsertionPoints::const_iterator it = m_nodeToInsertionPoints.find(key);
|
| return it == m_nodeToInsertionPoints.end() ? nullptr : it->value;
|
| }
|
|
|