| Index: third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp b/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| index c7a6f1c366b4cf3aa2f22fcffca6de910dbaaa4e..9a18e59ede3491a6761c0a3ea6bbfd9a3101904d 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
|
| @@ -21,7 +21,7 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer,
|
| const ComputedStyle& style) {
|
| const StyleReflection* reflectStyle = style.boxReflect();
|
|
|
| - LayoutRect frameLayoutRect = toLayoutBox(layer.layoutObject())->frameRect();
|
| + LayoutRect frameLayoutRect = toLayoutBox(layer.layoutObject()).frameRect();
|
| FloatRect frameRect(frameLayoutRect);
|
| BoxReflection::ReflectionDirection direction =
|
| BoxReflection::VerticalReflection;
|
| @@ -61,10 +61,10 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer,
|
| PaintRecordBuilder builder(maskBoundingFloatRect);
|
| {
|
| GraphicsContext& context = builder.context();
|
| - DrawingRecorder drawingRecorder(context, *layer.layoutObject(),
|
| + DrawingRecorder drawingRecorder(context, layer.layoutObject(),
|
| DisplayItem::kReflectionMask,
|
| maskBoundingFloatRect);
|
| - NinePieceImagePainter(*layer.layoutObject())
|
| + NinePieceImagePainter(layer.layoutObject())
|
| .paint(builder.context(), maskRect, style, maskNinePiece,
|
| SkBlendMode::kSrcOver);
|
| }
|
|
|