diff options
Diffstat (limited to 'WebCore/html/HTMLFrameElementBase.cpp')
-rw-r--r-- | WebCore/html/HTMLFrameElementBase.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/WebCore/html/HTMLFrameElementBase.cpp b/WebCore/html/HTMLFrameElementBase.cpp index d153845..cba82a2 100644 --- a/WebCore/html/HTMLFrameElementBase.cpp +++ b/WebCore/html/HTMLFrameElementBase.cpp @@ -92,8 +92,6 @@ bool HTMLFrameElementBase::isURLAllowed() const void HTMLFrameElementBase::openURL(bool lockHistory, bool lockBackForwardList) { - ASSERT(!m_frameName.isEmpty()); - if (!isURLAllowed()) return; @@ -155,9 +153,6 @@ void HTMLFrameElementBase::setName() m_frameName = getAttribute(nameAttr); if (m_frameName.isNull()) m_frameName = getIdAttribute(); - - if (Frame* parentFrame = document()->frame()) - m_frameName = parentFrame->tree()->uniqueChildName(m_frameName); } void HTMLFrameElementBase::setNameAndOpenURL() |