| Index: third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| index b5d88e7b0d16f7c339d45009e1b7dda396d470d4..804ececde31728fe95684a29cde8ff20df76d328 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp
|
| @@ -280,7 +280,7 @@ bool SharedStyleFinder::canShareStyleWithElement(Element& candidate) const {
|
| return false;
|
|
|
| bool isControl = candidate.isFormControlElement();
|
| - ASSERT(isControl == element().isFormControlElement());
|
| + DCHECK_EQ(isControl, element().isFormControlElement());
|
| if (isControl && !canShareStyleWithControl(candidate))
|
| return false;
|
|
|
|
|