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

Unified Diff: third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp

Issue 1862163002: WebKit MediaStream cleanup: ASSERT-->DCHECK and ASSERT_NOT_REACHED-->NOTREACHED etc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted CHECK --> RELEASE_ASSERT and added TODO Created 4 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/mediastream/URLMediaStream.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp b/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp
index 997cc55c7aef57304a08ed038a924ea1e91ef558..8f10116f5b25c89907e2bc90f05b3842895cbf5f 100644
--- a/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp
@@ -38,7 +38,7 @@ namespace blink {
String URLMediaStream::createObjectURL(ExecutionContext* executionContext, MediaStream* stream)
{
// Since WebWorkers cannot obtain Stream objects, we should be on the main thread.
- ASSERT(isMainThread());
+ DCHECK(isMainThread());
if (!executionContext || !stream)
return String();

Powered by Google App Engine
This is Rietveld 408576698