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

Unified Diff: Source/modules/webaudio/AudioParamTimeline.cpp

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/modules/webaudio/AudioContext.cpp ('k') | Source/modules/webaudio/BiquadProcessor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioParamTimeline.cpp
diff --git a/Source/modules/webaudio/AudioParamTimeline.cpp b/Source/modules/webaudio/AudioParamTimeline.cpp
index 7017ba93dde3e4926f47d13d7142c3541234dba5..eb107c04c1a19c710f52017ed26115d6d755e064 100644
--- a/Source/modules/webaudio/AudioParamTimeline.cpp
+++ b/Source/modules/webaudio/AudioParamTimeline.cpp
@@ -42,12 +42,12 @@ namespace WebCore {
void AudioParamTimeline::setValueAtTime(float value, double time)
{
- insertEvent(ParamEvent(ParamEvent::SetValue, value, time, 0, 0, 0));
+ insertEvent(ParamEvent(ParamEvent::SetValue, value, time, 0, 0, nullptr));
}
void AudioParamTimeline::linearRampToValueAtTime(float value, double time)
{
- insertEvent(ParamEvent(ParamEvent::LinearRampToValue, value, time, 0, 0, 0));
+ insertEvent(ParamEvent(ParamEvent::LinearRampToValue, value, time, 0, 0, nullptr));
}
void AudioParamTimeline::exponentialRampToValueAtTime(float value, double time, ExceptionState& exceptionState)
@@ -60,12 +60,12 @@ void AudioParamTimeline::exponentialRampToValueAtTime(float value, double time,
return;
}
- insertEvent(ParamEvent(ParamEvent::ExponentialRampToValue, value, time, 0, 0, 0));
+ insertEvent(ParamEvent(ParamEvent::ExponentialRampToValue, value, time, 0, 0, nullptr));
}
void AudioParamTimeline::setTargetAtTime(float target, double time, double timeConstant)
{
- insertEvent(ParamEvent(ParamEvent::SetTarget, target, time, timeConstant, 0, 0));
+ insertEvent(ParamEvent(ParamEvent::SetTarget, target, time, timeConstant, 0, nullptr));
}
void AudioParamTimeline::setValueCurveAtTime(Float32Array* curve, double time, double duration)
« no previous file with comments | « Source/modules/webaudio/AudioContext.cpp ('k') | Source/modules/webaudio/BiquadProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698