Index: third_party/WebKit/Source/core/paint/FramePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
index 8ec3b8e4f5b63f30dd0bee718cf2ad45e2c52096..fbe46a7a680b9041d36e48a71ece9f22e68c7c92 100644 |
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp |
@@ -54,7 +54,7 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global |
properties.transform = transform; |
if (clip) |
properties.clip = clip; |
- scopedPaintChunkProperties.emplace(context.getPaintController(), properties); |
+ scopedPaintChunkProperties.emplace(context.getPaintController(), *frameView().layoutView(), properties); |
} |
} |
@@ -78,7 +78,7 @@ void FramePainter::paint(GraphicsContext& context, const GlobalPaintFlags global |
if (TransformPaintPropertyNode* transform = m_frameView->preTranslation()) { |
PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties()); |
properties.transform = transform; |
- scopedPaintChunkProperties.emplace(context.getPaintController(), properties); |
+ scopedPaintChunkProperties.emplace(context.getPaintController(), *frameView().layoutView(), properties); |
} |
} |