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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
}
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.cpp ('k') | Source/core/html/HTMLImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698