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

Unified Diff: third_party/WebKit/Source/web/DateTimeChooserImpl.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
Index: third_party/WebKit/Source/web/DateTimeChooserImpl.cpp
diff --git a/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp b/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp
index c63522a2e442807e61474530fbbd3c07a08c9c0e..f32233f028f3615b3edf327355f805635fc35533 100644
--- a/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp
+++ b/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp
@@ -52,8 +52,8 @@ DateTimeChooserImpl::DateTimeChooserImpl(ChromeClientImpl* chromeClient, DateTim
, m_parameters(parameters)
, m_locale(Locale::create(parameters.locale))
{
- ASSERT(m_chromeClient);
- ASSERT(m_client);
+ DCHECK(m_chromeClient);
+ DCHECK(m_client);
m_popup = m_chromeClient->openPagePopup(this);
}
@@ -205,7 +205,7 @@ void DateTimeChooserImpl::closePopup()
void DateTimeChooserImpl::didClosePopup()
{
- ASSERT(m_client);
+ DCHECK(m_client);
m_popup = nullptr;
m_client->didEndChooser();
}
« no previous file with comments | « third_party/WebKit/Source/web/DatabaseClientImpl.cpp ('k') | third_party/WebKit/Source/web/DragClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698