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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 2431473003: Intersection Observer support for OOPIF (Closed)
Patch Set: Fixed test issue Created 4 years, 1 month 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/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index d06179e4d901857234004f0f1bfc784db82d0b9c..8916b4bed5250f3897632e9420acb34a7dd0d5a9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -115,6 +115,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,

Powered by Google App Engine
This is Rietveld 408576698