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

Unified Diff: third_party/WebKit/Source/modules/mediastream/SourceInfo.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/SourceInfo.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/SourceInfo.cpp b/third_party/WebKit/Source/modules/mediastream/SourceInfo.cpp
index b020fb2ff5c67dad9ef1587a61afada3a0ced90c..8af41ed3a18ea2a42deb33f8553fdaeefb4927a0 100644
--- a/third_party/WebKit/Source/modules/mediastream/SourceInfo.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/SourceInfo.cpp
@@ -31,7 +31,7 @@ namespace blink {
SourceInfo* SourceInfo::create(const WebSourceInfo& webSourceInfo)
{
- ASSERT(!webSourceInfo.isNull());
+ DCHECK(!webSourceInfo.isNull());
return new SourceInfo(webSourceInfo);
}
@@ -56,7 +56,7 @@ String SourceInfo::kind() const
return "none";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return String();
}
@@ -76,7 +76,7 @@ String SourceInfo::facing() const
return "environment";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return String();
}

Powered by Google App Engine
This is Rietveld 408576698