Index: Source/core/paint/DeprecatedPaintLayerPainter.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayerPainter.cpp b/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
index f0cbff95f81c4f0a7dd8a0cc6a1fbbdbf1f4f4ff..1b6bf43ae7ce64bb7792f13927e4b3261e7d727d 100644 |
--- a/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
@@ -15,6 +15,7 @@ |
#include "core/paint/DeprecatedPaintLayer.h" |
#include "core/paint/FilterPainter.h" |
#include "core/paint/LayerClipRecorder.h" |
+#include "core/paint/LayerFixedPositionRecorder.h" |
#include "core/paint/PaintInfo.h" |
#include "core/paint/SVGClipPainter.h" |
#include "core/paint/ScopeRecorder.h" |
@@ -79,6 +80,8 @@ void DeprecatedPaintLayerPainter::paintLayer(GraphicsContext* context, const Dep |
if (m_paintLayer.paintsWithTransparency(paintingInfo.paintBehavior)) |
paintFlags |= PaintLayerHaveTransparency; |
+ LayerFixedPositionRecorder fixedPositionRecorder(*context, *m_paintLayer.layoutObject()); |
+ |
// PaintLayerAppliedTransform is used in LayoutReplica, to avoid applying the transform twice. |
if (m_paintLayer.paintsWithTransform(paintingInfo.paintBehavior) && !(paintFlags & PaintLayerAppliedTransform)) { |
paintLayerWithTransform(context, paintingInfo, paintFlags); |