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

Unified Diff: third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp
diff --git a/third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp b/third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp
index a20f58155dca9a3fdc35d3480fbf6faf4d4755cd..51102704ad98de38acea0bfac114c426251d5cff 100644
--- a/third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp
+++ b/third_party/WebKit/Source/web/WebMediaDevicesRequest.cpp
@@ -49,19 +49,20 @@ void WebMediaDevicesRequest::reset()
WebSecurityOrigin WebMediaDevicesRequest::getSecurityOrigin() const
{
- ASSERT(!isNull() && m_private->getExecutionContext());
+ DCHECK(!isNull());
+ DCHECK(m_private->getExecutionContext());
return WebSecurityOrigin(m_private->getExecutionContext()->getSecurityOrigin());
}
WebDocument WebMediaDevicesRequest::ownerDocument() const
{
- ASSERT(!isNull());
+ DCHECK(!isNull());
return WebDocument(m_private->ownerDocument());
}
void WebMediaDevicesRequest::requestSucceeded(WebVector<WebMediaDeviceInfo> webDevices)
{
- ASSERT(!isNull());
+ DCHECK(!isNull());
MediaDeviceInfoVector devices(webDevices.size());
for (size_t i = 0; i < webDevices.size(); ++i)
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698