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

Unified Diff: third_party/WebKit/Source/modules/mediastream/NavigatorUserMediaError.h

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/NavigatorUserMediaError.h
diff --git a/third_party/WebKit/Source/modules/mediastream/NavigatorUserMediaError.h b/third_party/WebKit/Source/modules/mediastream/NavigatorUserMediaError.h
index e6a856e8424feb1004ca76d4aa656219e8824a9d..ec23a7bdc880fd56d62ee4094fa9c456a427eb1a 100644
--- a/third_party/WebKit/Source/modules/mediastream/NavigatorUserMediaError.h
+++ b/third_party/WebKit/Source/modules/mediastream/NavigatorUserMediaError.h
@@ -54,7 +54,7 @@ private:
NavigatorUserMediaError(const String& name, const String& message, const String& constraintName)
: m_name(name), m_message(message), m_constraintName(constraintName)
{
- ASSERT(!name.isEmpty());
+ DCHECK(!name.isEmpty());
}
String m_name;

Powered by Google App Engine
This is Rietveld 408576698