| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index dd178c9d5e2a6376faab1f4e6ef21c9bd94d2228..7d5c261b30ebc78e82d951cb8e21d7012513ee91 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -4745,9 +4745,7 @@ HTMLIFrameElement* Document::seamlessParentIFrame() const
|
| if (!shouldDisplaySeamlesslyWithParent())
|
| return 0;
|
|
|
| - HTMLFrameOwnerElement* ownerElement = this->ownerElement();
|
| - ASSERT(ownerElement->hasTagName(iframeTag));
|
| - return static_cast<HTMLIFrameElement*>(ownerElement);
|
| + return toHTMLIFrameElement(this->ownerElement());
|
| }
|
|
|
| bool Document::shouldDisplaySeamlesslyWithParent() const
|
|
|