| Index: third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| diff --git a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| index 2ffeae0ed06cf46b6bd6fe001bc98ae2fc80eaf3..bd1b92e7f228d9fa6f89f92ff12a5ecd31b99bf4 100644
|
| --- a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| +++ b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| @@ -125,8 +125,8 @@ Locale& ColorChooserPopupUIController::locale()
|
|
|
| void ColorChooserPopupUIController::setValueAndClosePopup(int numValue, const String& stringValue)
|
| {
|
| - ASSERT(m_popup);
|
| - ASSERT(m_client);
|
| + DCHECK(m_popup);
|
| + DCHECK(m_client);
|
| if (numValue == ColorPickerPopupActionSetValue)
|
| setValue(stringValue);
|
| if (numValue == ColorPickerPopupActionChooseOtherColor)
|
| @@ -136,7 +136,7 @@ void ColorChooserPopupUIController::setValueAndClosePopup(int numValue, const St
|
|
|
| void ColorChooserPopupUIController::setValue(const String& value)
|
| {
|
| - ASSERT(m_client);
|
| + DCHECK(m_client);
|
| Color color;
|
| bool success = color.setFromString(value);
|
| ASSERT_UNUSED(success, success);
|
| @@ -158,7 +158,7 @@ Element& ColorChooserPopupUIController::ownerElement()
|
|
|
| void ColorChooserPopupUIController::openPopup()
|
| {
|
| - ASSERT(!m_popup);
|
| + DCHECK(!m_popup);
|
| m_popup = m_chromeClient->openPagePopup(this);
|
| }
|
|
|
|
|