Chromium Code Reviews| Index: trunk/Source/core/html/HTMLFrameElementBase.cpp |
| =================================================================== |
| --- trunk/Source/core/html/HTMLFrameElementBase.cpp (revision 169397) |
| +++ trunk/Source/core/html/HTMLFrameElementBase.cpp (working copy) |
| @@ -137,6 +137,8 @@ |
| void HTMLFrameElementBase::setNameAndOpenURL() |
| { |
| m_frameName = getNameAttribute(); |
| + if (m_frameName.isNull()) |
| + m_frameName = getIdAttribute(); |
| openURL(); |
| } |