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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaDeviceInfo.cpp

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (Closed)
Patch Set: rebase 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/platform/exported/WebMediaDeviceInfo.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaDeviceInfo.cpp b/third_party/WebKit/Source/platform/exported/WebMediaDeviceInfo.cpp
index 596988812a532727712125611ce36a4079d9b9b4..bb62dcae22d67b7b2053fb011e14a4d4b8b9503b 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaDeviceInfo.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaDeviceInfo.cpp
@@ -90,22 +90,22 @@ void WebMediaDeviceInfo::Initialize(const WebString& device_id,
}
WebString WebMediaDeviceInfo::DeviceId() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->DeviceId();
}
WebMediaDeviceInfo::MediaDeviceKind WebMediaDeviceInfo::Kind() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->Kind();
}
WebString WebMediaDeviceInfo::Label() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->Label();
}
WebString WebMediaDeviceInfo::GroupId() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->GroupId();
}

Powered by Google App Engine
This is Rietveld 408576698