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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/svg/SVGAnimateElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
index 0b303c02585fd5be58f2ba987c2adc289af1eb7a..53cfdf2a60c2f74aa8aa177e921cf36dd084a06c 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
@@ -38,9 +38,9 @@ SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& doc
{
}
-PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& document)
+RawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& document)
{
- return adoptRefWillBeNoop(new SVGAnimateElement(SVGNames::animateTag, document));
+ return (new SVGAnimateElement(SVGNames::animateTag, document));
}
SVGAnimateElement::~SVGAnimateElement()
@@ -241,7 +241,7 @@ static inline void applyCSSPropertyToTargetAndInstances(SVGElement* targetElemen
applyCSSPropertyToTarget(targetElement, id, valueAsString);
// If the target element has instances, update them as well, w/o requiring the <use> tree to be rebuilt.
- const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instances = targetElement->instancesForElement();
+ const HeapHashSet<WeakMember<SVGElement>>& instances = targetElement->instancesForElement();
for (SVGElement* shadowTreeElement : instances) {
if (shadowTreeElement)
applyCSSPropertyToTarget(shadowTreeElement, id, valueAsString);
@@ -260,7 +260,7 @@ static inline void removeCSSPropertyFromTargetAndInstances(SVGElement* targetEle
removeCSSPropertyFromTarget(targetElement, id);
// If the target element has instances, update them as well, w/o requiring the <use> tree to be rebuilt.
- const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instances = targetElement->instancesForElement();
+ const HeapHashSet<WeakMember<SVGElement>>& instances = targetElement->instancesForElement();
for (SVGElement* shadowTreeElement : instances) {
if (shadowTreeElement)
removeCSSPropertyFromTarget(shadowTreeElement, id);

Powered by Google App Engine
This is Rietveld 408576698