| Index: third_party/WebKit/Source/core/frame/FrameView.h
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
|
| index 4419f0c5a9bc85c9c156bda820d95ee6ba10c10f..616faad3ab55bf1bf654c16c33650c2b75023c24 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.h
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.h
|
| @@ -406,12 +406,12 @@ class CORE_EXPORT FrameView final
|
|
|
| void invalidatePaintForTickmarks();
|
|
|
| - // Since the compositor can resize the viewport due to top controls and
|
| + // Since the compositor can resize the viewport due to browser controls and
|
| // commit scroll offsets before a WebView::resize occurs, we need to adjust
|
| // our scroll extents to prevent clamping the scroll offsets.
|
| - void setTopControlsViewportAdjustment(float);
|
| - IntSize topControlsSize() const {
|
| - return IntSize(0, ceilf(m_topControlsViewportAdjustment));
|
| + void setBrowserControlsViewportAdjustment(float);
|
| + IntSize browserControlsSize() const {
|
| + return IntSize(0, ceilf(m_browserControlsViewportAdjustment));
|
| }
|
|
|
| IntSize maximumScrollOffsetInt() const override;
|
| @@ -989,7 +989,7 @@ class CORE_EXPORT FrameView final
|
|
|
| Vector<IntRect> m_tickmarks;
|
|
|
| - float m_topControlsViewportAdjustment;
|
| + float m_browserControlsViewportAdjustment;
|
|
|
| bool m_needsUpdateWidgetGeometries;
|
| bool m_needsUpdateViewportIntersection;
|
|
|