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

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/web/RemoteFrameClientImpl.cpp ('k') | Source/web/WebNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index 558962727219409fc328c841d907a3d38958db7a..f962dc4cdeccccc096d53fac328ea0c0fd78f7c8 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -264,7 +264,7 @@ static void frameContentAsPlainText(size_t maxChars, LocalFrame* frame, StringBu
LocalFrame* curLocalChild = toLocalFrame(curChild);
// Ignore the text of non-visible frames.
RenderView* contentRenderer = curLocalChild->contentRenderer();
- RenderPart* ownerRenderer = curLocalChild->ownerRenderer();
+ LayoutPart* ownerRenderer = curLocalChild->ownerRenderer();
if (!contentRenderer || !contentRenderer->size().width() || !contentRenderer->size().height()
|| (contentRenderer->location().x() + contentRenderer->size().width() <= 0) || (contentRenderer->location().y() + contentRenderer->size().height() <= 0)
|| (ownerRenderer && ownerRenderer->style() && ownerRenderer->style()->visibility() != VISIBLE)) {
@@ -631,7 +631,7 @@ WebSize WebLocalFrameImpl::contentsSize() const
bool WebLocalFrameImpl::hasVisibleContent() const
{
- if (RenderPart* renderer = frame()->ownerRenderer()) {
+ if (LayoutPart* renderer = frame()->ownerRenderer()) {
if (renderer->style()->visibility() != VISIBLE)
return false;
}
« no previous file with comments | « Source/web/RemoteFrameClientImpl.cpp ('k') | Source/web/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698