Index: Source/core/html/HTMLFrameSetElement.cpp |
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp |
index 742da17fd909df8e9f4fca021b80b4bb99719dd7..e80555347529ea02c44e7ce8c76addc23c60071f 100644 |
--- a/Source/core/html/HTMLFrameSetElement.cpp |
+++ b/Source/core/html/HTMLFrameSetElement.cpp |
@@ -31,7 +31,6 @@ |
#include "core/dom/Event.h" |
#include "core/dom/EventNames.h" |
#include "core/dom/MouseEvent.h" |
-#include "core/dom/NodeRenderingContext.h" |
#include "core/html/HTMLCollection.h" |
#include "core/html/HTMLDimension.h" |
#include "core/html/HTMLFrameElement.h" |
@@ -147,11 +146,11 @@ void HTMLFrameSetElement::parseAttribute(const QualifiedName& name, const Atomic |
HTMLElement::parseAttribute(name, value); |
} |
-bool HTMLFrameSetElement::rendererIsNeeded(const NodeRenderingContext& context) |
+bool HTMLFrameSetElement::rendererIsNeeded(const RenderStyle& style) |
{ |
// For compatibility, frames render even when display: none is set. |
// However, we delay creating a renderer until stylesheets have loaded. |
- return context.style()->isStyleAvailable(); |
+ return style.isStyleAvailable(); |
} |
RenderObject* HTMLFrameSetElement::createRenderer(RenderStyle *style) |