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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp

Issue 2737883002: Rename LayoutPart::widget to LayoutPart::frameViewBase (Closed)
Patch Set: Rename LayoutPart::widget to LayoutPart::frameViewBase Created 3 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
Index: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
index 4fca2522b41a5dc1e400a142ba38c9bde71e3f2e..c5b3b315221c31ecf67e689a596ba87c22b0587c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
@@ -135,7 +135,7 @@ void LayoutEmbeddedObject::layout() {
updateLayerTransformAfterLayout();
- FrameViewBase* frameViewBase = this->widget();
+ FrameViewBase* frameViewBase = this->frameViewBase();
if (!frameViewBase && frameView())
frameView()->addPartToUpdate(*this);
@@ -154,9 +154,9 @@ CompositingReasons LayoutEmbeddedObject::additionalCompositingReasons() const {
}
LayoutReplaced* LayoutEmbeddedObject::embeddedReplacedContent() const {
- if (!node() || !widget() || !widget()->isFrameView())
+ if (!node() || !frameViewBase() || !frameViewBase()->isFrameView())
return nullptr;
- return toFrameView(widget())->embeddedReplacedContent();
+ return toFrameView(frameViewBase())->embeddedReplacedContent();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698