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

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

Issue 2733113002: Rename updateWidgetGeometry methods to updateGeometry. (Closed)
Patch Set: 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/LayoutPart.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
index a8894f2814b9a9ee35f199b214fe877b48fddbf2..374855cfa099502fad7306e7a7e85e573787d7ef 100644
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
@@ -295,7 +295,7 @@ void LayoutPart::updateOnWidgetChange() {
return;
if (!needsLayout())
- updateWidgetGeometryInternal();
+ updateGeometryInternal();
if (style()->visibility() != EVisibility::kVisible) {
frameViewBase->hide();
@@ -307,7 +307,7 @@ void LayoutPart::updateOnWidgetChange() {
}
}
-void LayoutPart::updateWidgetGeometry() {
+void LayoutPart::updateGeometry() {
FrameViewBase* frameViewBase = this->widget();
if (!frameViewBase ||
!node()) // Check the node in case destroy() has been called.
@@ -329,7 +329,7 @@ void LayoutPart::updateWidgetGeometry() {
(boundsWillChange || frameView->needsScrollbarReconstruction()))
frameView->setNeedsLayout();
- updateWidgetGeometryInternal();
+ updateGeometryInternal();
// If view needs layout, either because bounds have changed or possibly
// indicating content size is wrong, we have to do a layout to set the right
@@ -337,10 +337,10 @@ void LayoutPart::updateWidgetGeometry() {
if (frameView && frameView->needsLayout() && frameView->frame().page())
frameView->layout();
- frameViewBase->widgetGeometryMayHaveChanged();
+ frameViewBase->geometryMayHaveChanged();
}
-void LayoutPart::updateWidgetGeometryInternal() {
+void LayoutPart::updateGeometryInternal() {
FrameViewBase* frameViewBase = this->widget();
DCHECK(frameViewBase);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutPart.h ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698