| Index: Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
|
| index 8f0526c6ef991b3ebcedfe68ac7414235c1be00a..c6e43ae7b0383c30f2ab81e5a0b8e8aa59865238 100644
|
| --- a/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -1384,9 +1384,7 @@ StyleMedia* LocalDOMWindow::styleMedia() const
|
|
|
| PassRefPtrWillBeRawPtr<CSSStyleDeclaration> LocalDOMWindow::getComputedStyle(Element* elt, const String& pseudoElt) const
|
| {
|
| - if (!elt)
|
| - return nullptr;
|
| -
|
| + ASSERT(elt);
|
| return CSSComputedStyleDeclaration::create(elt, false, pseudoElt);
|
| }
|
|
|
|
|