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

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: Fix compilation. 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 49aa97e5f8011ef04eea7e6ea03f3e7b431ef86b..e7f023569304ae09f17c5266338572d1888844b2 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();
}

Powered by Google App Engine
This is Rietveld 408576698