Index: Source/core/html/HTMLFrameElement.cpp |
diff --git a/Source/core/html/HTMLFrameElement.cpp b/Source/core/html/HTMLFrameElement.cpp |
index 0d8dda5ad66622fba28c1ac6a256a142c79dcd75..cd8e7171bc7d5bc1e52f4a88669ffaaa91659753 100644 |
--- a/Source/core/html/HTMLFrameElement.cpp |
+++ b/Source/core/html/HTMLFrameElement.cpp |
@@ -75,8 +75,8 @@ void HTMLFrameElement::parseAttribute(const QualifiedName& name, const AtomicStr |
m_frameBorderSet = !value.isNull(); |
// FIXME: If we are already attached, this has no effect. |
} else if (name == noresizeAttr) { |
- if (renderer()) |
- renderer()->updateFromElement(); |
+ if (layoutObject()) |
+ layoutObject()->updateFromElement(); |
} else |
HTMLFrameElementBase::parseAttribute(name, value); |
} |