| Index: third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
|
| index f24c32f9776af475637763643b3eabf45495244b..091d5652ed1d6674f38f5d7aaf227235eeb783b8 100644
|
| --- a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp
|
| @@ -148,7 +148,7 @@ static unsigned computePresentationAttributeCacheHash(const PresentationAttribut
|
| {
|
| if (!key.tagName)
|
| return 0;
|
| - ASSERT(key.attributesAndValues.size());
|
| + DCHECK(key.attributesAndValues.size());
|
| unsigned attributeHash = StringHasher::hashMemory(key.attributesAndValues.data(), key.attributesAndValues.size() * sizeof(key.attributesAndValues[0]));
|
| return WTF::hashInts(key.tagName->existingHash(), attributeHash);
|
| }
|
| @@ -157,7 +157,7 @@ RawPtr<StylePropertySet> computePresentationAttributeStyle(Element& element)
|
| {
|
| DEFINE_STATIC_LOCAL(PresentationAttributeCacheCleaner, cacheCleaner, ());
|
|
|
| - ASSERT(element.isStyledElement());
|
| + DCHECK(element.isStyledElement());
|
|
|
| PresentationAttributeCacheKey cacheKey;
|
| makePresentationAttributeCacheKey(element, cacheKey);
|
|
|