Index: Source/core/html/HTMLFrameSetElement.cpp |
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp |
index 8b37e79621ea5ac544093d65466335d8cd509cdb..861df0c6b691edc5707722bd90999ce45be2d67c 100644 |
--- a/Source/core/html/HTMLFrameSetElement.cpp |
+++ b/Source/core/html/HTMLFrameSetElement.cpp |
@@ -183,8 +183,8 @@ void HTMLFrameSetElement::attach(const AttachContext& context) |
void HTMLFrameSetElement::defaultEventHandler(Event* evt) |
{ |
- if (evt->isMouseEvent() && !m_noresize && renderer() && renderer()->isFrameSet()) { |
- if (toLayoutFrameSet(renderer())->userResize(toMouseEvent(evt))) { |
+ if (evt->isMouseEvent() && !m_noresize && layoutObject() && layoutObject()->isFrameSet()) { |
+ if (toLayoutFrameSet(layoutObject())->userResize(toMouseEvent(evt))) { |
evt->setDefaultHandled(); |
return; |
} |
@@ -203,8 +203,8 @@ Node::InsertionNotificationRequest HTMLFrameSetElement::insertedInto(ContainerNo |
void HTMLFrameSetElement::willRecalcStyle(StyleRecalcChange) |
{ |
- if (needsStyleRecalc() && renderer()) { |
- renderer()->setNeedsLayoutAndFullPaintInvalidation(); |
+ if (needsStyleRecalc() && layoutObject()) { |
+ layoutObject()->setNeedsLayoutAndFullPaintInvalidation(); |
clearNeedsStyleRecalc(); |
} |
} |