| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 9e7ab1d01535a04e2ad09ddb122cb13759b96a7a..0c2035cba99420d372f75f508b73e7fadd2850c3 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -412,7 +412,7 @@ void PaintLayer::updateTransform(const ComputedStyle* oldStyle, const ComputedSt
|
| if (hasTransform)
|
| ensureRareData().transform = TransformationMatrix::create();
|
| else
|
| - m_rareData->transform.clear();
|
| + m_rareData->transform.reset();
|
|
|
| // PaintLayers with transforms act as clip rects roots, so clear the cached clip rects here.
|
| clipper().clearClipRectsIncludingDescendants();
|
| @@ -989,7 +989,7 @@ void PaintLayer::updateAncestorDependentCompositingInputs(const AncestorDependen
|
| {
|
| m_ancestorDependentCompositingInputs = compositingInputs;
|
| if (rareCompositingInputs.isDefault())
|
| - m_rareAncestorDependentCompositingInputs.clear();
|
| + m_rareAncestorDependentCompositingInputs.reset();
|
| else
|
| m_rareAncestorDependentCompositingInputs = adoptPtr(new RareAncestorDependentCompositingInputs(rareCompositingInputs));
|
| m_hasAncestorWithClipPath = hasAncestorWithClipPath;
|
| @@ -2349,7 +2349,7 @@ void PaintLayer::clearCompositedLayerMapping(bool layerBeingDestroyed)
|
| }
|
|
|
| if (m_rareData)
|
| - m_rareData->compositedLayerMapping.clear();
|
| + m_rareData->compositedLayerMapping.reset();
|
|
|
| if (!layerBeingDestroyed)
|
| updateOrRemoveFilterEffectBuilder();
|
|
|