Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index 0235ceb1e371785d57bcb157afc25fb5da15e540..55c5b0b8566246eabd75ecfc5f1c0ebc859d752a 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -434,7 +434,7 @@ public: |
virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
virtual RenderObject* createRenderer(RenderStyle*); |
- virtual bool rendererIsNeeded(const NodeRenderingContext&); |
+ virtual bool rendererIsNeeded(const RenderStyle&); |
bool recalcStyle(StyleRecalcChange); |
void didAffectSelector(AffectedSelectorMask); |
@@ -595,7 +595,7 @@ public: |
virtual bool shouldBeReparentedUnderRenderView(const RenderStyle*) const { return isInTopLayer(); } |
- virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
+ virtual bool childShouldCreateRenderer(const Node& child) const; |
bool hasPendingResources() const; |
void setHasPendingResources(); |
void clearHasPendingResources(); |