Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(717)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2014483003: Rename OwnPtr::clear() to reset() in core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerStackingNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698