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

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

Issue 2809023002: Replace ASSERT/ASSERT_NOT_REACHED with DCHECK/NOTREACHED in modules/webaudio (Closed)
Patch Set: Created 3 years, 8 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/modules/webaudio/WaveShaperDSPKernel.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp b/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp
index b5c55415f0f5900d3ec89b300b89628cb3414818..3ede0adbd7988835a56e286aec2c129526a10507 100644
--- a/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperDSPKernel.cpp
@@ -70,7 +70,7 @@ void WaveShaperDSPKernel::Process(const float* source,
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
@@ -204,7 +204,7 @@ double WaveShaperDSPKernel::LatencyTime() const {
break;
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
return static_cast<double>(latency_frames) / SampleRate();

Powered by Google App Engine
This is Rietveld 408576698