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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp

Issue 1493753003: Drop [LegacyInterfaceTypeChecking] for the Web Audio API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 5 years 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/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);

Powered by Google App Engine
This is Rietveld 408576698