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 709ec18135c0a371b54ab6f8dc772b498631a2ce..4f269d395187bb8bc935116e7dc1d53db481d923 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.h |
+++ b/third_party/WebKit/Source/core/frame/FrameView.h |
@@ -584,6 +584,9 @@ public: |
// TODO(ojan): Merge this with IntersectionObserver once it lands. |
IntRect computeVisibleArea(); |
+ // Viewport size that should be used for viewport units (i.e. 'vh'/'vw'). |
+ FloatSize viewportSizeForViewportUnits() const; |
+ |
protected: |
// Scroll the content via the compositor. |
bool scrollContentsFastPath(const IntSize& scrollDelta); |