Index: Source/core/html/HTMLFrameSetElement.cpp |
diff --git a/Source/core/html/HTMLFrameSetElement.cpp b/Source/core/html/HTMLFrameSetElement.cpp |
index dc1cf764f21f85d64261fb8d67c4eb2dbb7846a6..a8743110ec6aeb1b7a81649bb503ebf52d8a2cd2 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(); |
} |
} |