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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2890583002: Fix incorrect use of coords conversion for sticky elements (Closed)
Patch Set: Created 3 years, 7 months 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/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 1328a53ceda13f5daa82d16b4646c3072022c9b6..c08a6f48a9d907d003ab3f3d03e1719541c99e50 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -374,7 +374,8 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
}
void ConvertToLayerCoords(const PaintLayer* ancestor_layer,
- LayoutPoint&) const;
+ LayoutPoint&,
+ bool* is_descendant = nullptr) const;
void ConvertToLayerCoords(const PaintLayer* ancestor_layer,
LayoutRect&) const;

Powered by Google App Engine
This is Rietveld 408576698