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

Unified Diff: Source/platform/animation/AnimationValue.h

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 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
« no previous file with comments | « Source/platform/SharedBuffer.cpp ('k') | Source/platform/animation/KeyframeValueList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/animation/AnimationValue.h
diff --git a/Source/platform/animation/AnimationValue.h b/Source/platform/animation/AnimationValue.h
index 6d4bbd8b754a68ab0d2d88b84b9707a2472c84ff..a50442b7ec7b7e836b78d886ec0b9ae1076e3a8a 100644
--- a/Source/platform/animation/AnimationValue.h
+++ b/Source/platform/animation/AnimationValue.h
@@ -42,7 +42,7 @@ namespace WebCore {
class AnimationValue {
WTF_MAKE_FAST_ALLOCATED;
public:
- explicit AnimationValue(double keyTime, PassRefPtr<TimingFunction> timingFunction = 0)
+ explicit AnimationValue(double keyTime, PassRefPtr<TimingFunction> timingFunction = nullptr)
: m_keyTime(keyTime)
, m_timingFunction(timingFunction)
{
@@ -62,7 +62,7 @@ private:
// Used to store one float value of an animation.
class FloatAnimationValue FINAL : public AnimationValue {
public:
- FloatAnimationValue(double keyTime, float value, PassRefPtr<TimingFunction> timingFunction = 0)
+ FloatAnimationValue(double keyTime, float value, PassRefPtr<TimingFunction> timingFunction = nullptr)
: AnimationValue(keyTime, timingFunction)
, m_value(value)
{
@@ -78,7 +78,7 @@ private:
// Used to store one transform value in a keyframe list.
class TransformAnimationValue FINAL : public AnimationValue {
public:
- explicit TransformAnimationValue(double keyTime, const TransformOperations* value = 0, PassRefPtr<TimingFunction> timingFunction = 0)
+ explicit TransformAnimationValue(double keyTime, const TransformOperations* value = 0, PassRefPtr<TimingFunction> timingFunction = nullptr)
: AnimationValue(keyTime, timingFunction)
{
if (value)
@@ -95,7 +95,7 @@ private:
// Used to store one filter value in a keyframe list.
class FilterAnimationValue FINAL : public AnimationValue {
public:
- explicit FilterAnimationValue(double keyTime, const FilterOperations* value = 0, PassRefPtr<TimingFunction> timingFunction = 0)
+ explicit FilterAnimationValue(double keyTime, const FilterOperations* value = 0, PassRefPtr<TimingFunction> timingFunction = nullptr)
: AnimationValue(keyTime, timingFunction)
{
if (value)
« no previous file with comments | « Source/platform/SharedBuffer.cpp ('k') | Source/platform/animation/KeyframeValueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698