Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: Source/core/html/HTMLFrameSetElement.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
}

Powered by Google App Engine
This is Rietveld 408576698