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

Unified Diff: third_party/WebKit/Source/modules/webaudio/PannerNode.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/PannerNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp b/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp
index fb400a2a0b5b1d14a38e99bfa6c12f4997ceb598..b3a3d6729c8a4fb80de2f05cfd8744b611fe1f8f 100644
--- a/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp
@@ -289,7 +289,7 @@ String PannerHandler::PanningModel() const {
case Panner::kPanningModelHRTF:
return "HRTF";
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "equalpower";
}
}
@@ -338,7 +338,7 @@ String PannerHandler::DistanceModel() const {
case DistanceEffect::kModelExponential:
return "exponential";
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return "inverse";
}
}
@@ -366,7 +366,7 @@ bool PannerHandler::SetDistanceModel(unsigned model) {
}
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698