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

Unified Diff: third_party/WebKit/Source/core/svg/SVGBoolean.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, 9 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/SVGBoolean.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGBoolean.cpp b/third_party/WebKit/Source/core/svg/SVGBoolean.cpp
index d09fb3535b11689f9c819f655821b87aec6efcbe..5e6da7d988c31ba0293642c743afed69d5904bf2 100644
--- a/third_party/WebKit/Source/core/svg/SVGBoolean.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGBoolean.cpp
@@ -52,12 +52,12 @@ SVGParsingError SVGBoolean::setValueAsString(const String& value)
return SVGParseStatus::ExpectedBoolean;
}
-void SVGBoolean::add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+void SVGBoolean::add(RawPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT_NOT_REACHED();
}
-void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> from, PassRefPtrWillBeRawPtr<SVGPropertyBase> to, PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> from, RawPtr<SVGPropertyBase> to, RawPtr<SVGPropertyBase>, SVGElement*)
{
ASSERT(animationElement);
bool fromBoolean = animationElement->getAnimationMode() == ToAnimation ? m_value : toSVGBoolean(from)->value();
@@ -66,7 +66,7 @@ void SVGBoolean::calculateAnimatedValue(SVGAnimationElement* animationElement, f
animationElement->animateDiscreteType<bool>(percentage, fromBoolean, toBoolean, m_value);
}
-float SVGBoolean::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*)
+float SVGBoolean::calculateDistance(RawPtr<SVGPropertyBase>, SVGElement*)
{
// No paced animations for boolean.
return -1;
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGBoolean.h ('k') | third_party/WebKit/Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698