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

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

Issue 2738943004: Fix position of composited, paginated inlines. (Closed)
Patch Set: none Created 3 years, 9 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 0f00978b2eec1eec307b2682a53a508bb03358eb..722352becf6fc58e6e514082a7718b0e50d9d824 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -378,7 +378,9 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
// layer starts in and adds in the offset. See
// http://www.chromium.org/developers/design-documents/multi-column-layout for
// more info.
- LayoutPoint visualOffsetFromAncestor(const PaintLayer* ancestorLayer) const;
+ LayoutPoint visualOffsetFromAncestor(
+ const PaintLayer* ancestorLayer,
+ LayoutPoint offset = LayoutPoint()) const;
// Convert a bounding box from flow thread coordinates, relative to |this|, to
// visual coordinates, relative to |ancestorLayer|.

Powered by Google App Engine
This is Rietveld 408576698