| Index: Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp
|
| diff --git a/Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp b/Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp
|
| index 629f837897ad5c4c2957334d0c57fe801573ec56..1333cc37f7d4cad65595f77f6f775043eaf6290a 100644
|
| --- a/Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp
|
| +++ b/Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp
|
| @@ -129,15 +129,16 @@ void DeprecatedPaintLayerReflectionInfo::updateAfterStyleChange(const ComputedSt
|
| m_reflection->setStyle(newStyle.release());
|
| }
|
|
|
| -void DeprecatedPaintLayerReflectionInfo::paint(GraphicsContext* context, const DeprecatedPaintLayerPaintingInfo& paintingInfo, PaintLayerFlags flags)
|
| +DeprecatedPaintLayerPainter::PaintResult DeprecatedPaintLayerReflectionInfo::paint(GraphicsContext* context, const DeprecatedPaintLayerPaintingInfo& paintingInfo, PaintLayerFlags flags)
|
| {
|
| if (m_isPaintingInsideReflection)
|
| - return;
|
| + return DeprecatedPaintLayerPainter::FullyPainted;
|
|
|
| // Mark that we are now inside replica painting.
|
| m_isPaintingInsideReflection = true;
|
| - DeprecatedPaintLayerPainter(*reflectionLayer()).paintLayer(context, paintingInfo, flags);
|
| + DeprecatedPaintLayerPainter::PaintResult result = DeprecatedPaintLayerPainter(*reflectionLayer()).paintLayer(context, paintingInfo, flags);
|
| m_isPaintingInsideReflection = false;
|
| + return result;
|
| }
|
|
|
| } // namespace blink
|
|
|