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 c683ff2bd9728debb75e6f082efd5f70bd4c6e6a..4faa7b0a5e4031512443335ff56f3e07ed18abd5 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutView.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h |
@@ -114,6 +114,9 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow { |
FrameView* frameView() const { return m_frameView; } |
+ // |ancestor| can be nullptr, which will map the rect to the main frame's |
+ // space, even if the main frame is remote (or has intermediate remote |
+ // frames in the chain). |
bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, |
LayoutRect&, |
MapCoordinatesFlags, |