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

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

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
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 439470c7a46c1a0ee9db1e1293e848e7ba853368..43186ec9165794424509b7e415fc54736880da66 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -1469,8 +1469,8 @@ void PaintLayer::convertToLayerCoords(const PaintLayer* ancestorLayer,
}
LayoutPoint PaintLayer::visualOffsetFromAncestor(
- const PaintLayer* ancestorLayer) const {
- LayoutPoint offset;
+ const PaintLayer* ancestorLayer,
+ LayoutPoint offset) const {
if (ancestorLayer == this)
return offset;
PaintLayer* paginationLayer = enclosingPaginationLayer();
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698