| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index a87670844024b5841a9072743f3b4a2cff68fd10..0af6e4b3499633a3918a04bd9c8e3989dd43e909 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -2054,7 +2054,7 @@ void Document::updateLayoutIgnorePendingStylesheets(Document::RunPostLayoutTasks
|
|
|
| PassRefPtr<ComputedStyle> Document::styleForElementIgnoringPendingStylesheets(Element* element)
|
| {
|
| - ASSERT_ARG(element, element->document() == this);
|
| + DCHECK_EQ(element->document(), this);
|
| StyleEngine::IgnoringPendingStylesheet ignoring(styleEngine());
|
| return ensureStyleResolver().styleForElement(element, element->parentNode() ? element->parentNode()->ensureComputedStyle() : 0);
|
| }
|
|
|