Index: Source/core/html/HTMLEmbedElement.cpp |
diff --git a/Source/core/html/HTMLEmbedElement.cpp b/Source/core/html/HTMLEmbedElement.cpp |
index 7cfb3a078cc034b27333aae5058da3ed3639b7c6..44a523d92312afb6a9ec096b4c1b5f834cf72d45 100644 |
--- a/Source/core/html/HTMLEmbedElement.cpp |
+++ b/Source/core/html/HTMLEmbedElement.cpp |
@@ -154,10 +154,6 @@ bool HTMLEmbedElement::layoutObjectIsNeeded(const LayoutStyle& style) |
if (isImageType()) |
return HTMLPlugInElement::layoutObjectIsNeeded(style); |
- LocalFrame* frame = document().frame(); |
- if (!frame) |
- return false; |
- |
// If my parent is an <object> and is not set to use fallback content, I |
// should be ignored and not get a renderer. |
ContainerNode* p = parentNode(); |