Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index 3edbd5175587bb7dfb2b1026d666cca0f9ec8681..fd9a2498298449646e71f41e05e6226838c5f6f7 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -305,14 +305,6 @@ void HTMLObjectElement::updateWidgetInternal() |
} |
} |
-bool HTMLObjectElement::layoutObjectIsNeeded(const LayoutStyle& style) |
-{ |
- // FIXME: This check should not be needed, detached documents never render! |
- if (!document().frame()) |
- return false; |
- return HTMLPlugInElement::layoutObjectIsNeeded(style); |
-} |
- |
Node::InsertionNotificationRequest HTMLObjectElement::insertedInto(ContainerNode* insertionPoint) |
{ |
HTMLPlugInElement::insertedInto(insertionPoint); |