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

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

Issue 2518933002: Remove RELEASE_NOTREACHED(). (Closed)
Patch Set: Created 4 years, 1 month 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/OfflineAudioContext.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
index c0ce506322ea76ace54c804729dcf94716615108..bf0da224144f6cac26f789b0ad6028ca6bc19895 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioContext.cpp
@@ -208,10 +208,8 @@ ScriptPromise OfflineAudioContext::startOfflineRendering(
}
ScriptPromise OfflineAudioContext::suspendContext(ScriptState* scriptState) {
- // This CANNOT be called on OfflineAudioContext; this is only to implement
- // the pure virtual interface from BaseAudioContext.
- RELEASE_NOTREACHED();
-
+ LOG(FATAL) << "This CANNOT be called on OfflineAudioContext; this is only to "
+ "implement the pure virtual interface from BaseAudioContext.";
return ScriptPromise();
}
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchManager.cpp ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698