Index: third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp |
index b62f8244ce254e74767da1609ebf8843b84d99a3..ed38aa2aa579d291a4b84dc3d4f14ffeb03d3edb 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp |
@@ -327,6 +327,7 @@ void OscillatorHandler::process(size_t framesToProcess) |
void OscillatorHandler::setPeriodicWave(PeriodicWave* periodicWave) |
{ |
ASSERT(isMainThread()); |
+ ASSERT(periodicWave); |
// This synchronizes with process(). |
MutexLocker processLocker(m_processLock); |