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

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

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/ColorChooserPopupUIController.cpp
diff --git a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
index 8664fe523e27810d196f8a045ce8ca635998ae7b..d775a0bde5d5afcd870365b8f30d2818e7822cfb 100644
--- a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
+++ b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
@@ -134,7 +134,7 @@ void ColorChooserPopupUIController::setValue(const String& value) {
DCHECK(m_client);
Color color;
bool success = color.setFromString(value);
- ASSERT_UNUSED(success, success);
+ DCHECK(success);
m_client->didChooseColor(color);
}

Powered by Google App Engine
This is Rietveld 408576698