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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.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/modules/accessibility/AXNodeObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
index 8e7b59f62ecf626a22aa4cedacaf547fc0529993..fb2a30dc5462cc0562237c57eaf7133b2c3b6245 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp
@@ -1352,7 +1352,7 @@ RGBA32 AXNodeObject::colorValue() const {
// HTMLInputElement::value always returns a string parseable by Color.
Color color;
bool success = color.setFromString(input->value());
- ASSERT_UNUSED(success, success);
+ DCHECK(success);
return color.rgb();
}

Powered by Google App Engine
This is Rietveld 408576698