Index: third_party/WebKit/Source/core/layout/LayoutView.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h |
index 633bc93a134e95507a6864c52e59207c53968806..7fee537cc7d6e9cbc496bbe58d8aee71a8d0a750 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutView.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h |
@@ -183,8 +183,8 @@ public: |
bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const override; |
- double layoutViewportWidth() const; |
- double layoutViewportHeight() const; |
+ // Returns the viewport size in (CSS pixels) that vh and vw units are calculated from. |
+ FloatSize viewportSizeForViewportUnits() const; |
void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutState; } |
void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState->next(); } |