| Index: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| index 1b30b6767fbf6cbb01c36da4f8f302ee4259d7aa..5be60aa04839f1f6320a5a817e75aa8cc551b66c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.cpp
|
| @@ -60,8 +60,7 @@ PassRefPtr<SkDrawLooper> DrawLooperBuilder::detachDrawLooper()
|
|
|
| void DrawLooperBuilder::addUnmodifiedContent()
|
| {
|
| - SkLayerDrawLooper::LayerInfo info;
|
| - m_skDrawLooperBuilder.addLayerOnTop(info);
|
| + m_skDrawLooperBuilder.addLayer();
|
| }
|
|
|
| void DrawLooperBuilder::addShadow(const FloatSize& offset, float blur, const Color& color,
|
| @@ -92,7 +91,7 @@ void DrawLooperBuilder::addShadow(const FloatSize& offset, float blur, const Col
|
| info.fOffset.set(offset.width(), offset.height());
|
| info.fPostTranslate = (shadowTransformMode == ShadowIgnoresTransforms);
|
|
|
| - SkPaint* paint = m_skDrawLooperBuilder.addLayerOnTop(info);
|
| + SkPaint* paint = m_skDrawLooperBuilder.addLayer(info);
|
|
|
| if (blur) {
|
| const SkScalar sigma = skBlurRadiusToSigma(blur);
|
|
|