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

Unified Diff: Source/core/paint/PaintInfo.h

Issue 1332643002: Fix fixed-background offset issue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: Source/core/paint/PaintInfo.h
diff --git a/Source/core/paint/PaintInfo.h b/Source/core/paint/PaintInfo.h
index c991599ecb3ed36d162b452b462ed70027fc290d..2c1b1d4b7a3338e7b97c4670982fe9f49705e8be 100644
--- a/Source/core/paint/PaintInfo.h
+++ b/Source/core/paint/PaintInfo.h
@@ -109,6 +109,7 @@ struct PaintInfo {
IntRect rect; // dirty rect used for culling non-intersecting layoutObjects
PaintPhase phase;
LayoutObject* paintingRoot; // used to draw just one element and its visual kids
+ IntPoint accumulatedScrollOffsetSincePaintContainer;
private:
const LayoutBoxModelObject* m_paintContainer; // the box model object that originates the current painting
« Source/core/paint/BackgroundImageGeometry.cpp ('K') | « Source/core/paint/BoxPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698