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

Unified Diff: Source/core/html/HTMLFrameOwnerElement.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/HTMLFrameElement.cpp ('k') | Source/core/html/HTMLFrameSetElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameOwnerElement.cpp
diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp
index 00d209845faaf5a54ba4a542dd2fd0e6ead27b14..377a7e2c9fb4f872d26ade1aea81bdb5717ebd76 100644
--- a/Source/core/html/HTMLFrameOwnerElement.cpp
+++ b/Source/core/html/HTMLFrameOwnerElement.cpp
@@ -115,9 +115,9 @@ LayoutPart* HTMLFrameOwnerElement::layoutPart() const
{
// HTMLObjectElement and HTMLEmbedElement may return arbitrary renderers
// when using fallback content.
- if (!renderer() || !renderer()->isLayoutPart())
+ if (!layoutObject() || !layoutObject()->isLayoutPart())
return nullptr;
- return toLayoutPart(renderer());
+ return toLayoutPart(layoutObject());
}
void HTMLFrameOwnerElement::setContentFrame(Frame& frame)
@@ -221,7 +221,7 @@ void HTMLFrameOwnerElement::setWidget(PassRefPtrWillBeRawPtr<Widget> widget)
m_widget = widget;
- LayoutPart* layoutPart = toLayoutPart(renderer());
+ LayoutPart* layoutPart = toLayoutPart(layoutObject());
if (!layoutPart)
return;
« no previous file with comments | « Source/core/html/HTMLFrameElement.cpp ('k') | Source/core/html/HTMLFrameSetElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698