Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index 7b25fadc03bf6aedd7eb8caf191c3fa2e86308de..55bfc78d5fd02bc5292b7943680de6d64459d8e2 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -166,7 +166,7 @@ void HTMLBodyElement::didNotifySubtreeInsertionsToDocument() |
// FIXME: It's surprising this is web compatible since it means a |
// marginwidth and marginheight attribute can magically appear on the <body> |
// of all documents embedded through <iframe> or <frame>. |
- Element* ownerElement = document().ownerElement(); |
+ HTMLFrameOwnerElement* ownerElement = document().ownerElement(); |
if (!isHTMLFrameElementBase(ownerElement)) |
return; |
HTMLFrameElementBase& ownerFrameElement = toHTMLFrameElementBase(*ownerElement); |