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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.h

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/core/layout/LayoutTableCell.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.h b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
index 73d34eb35fcc8bceb34c4c9523d5736eaa4aa8a9..ef0e75b3b54e4118f2c39674723af3964a197515 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
@@ -253,13 +253,13 @@ class CORE_EXPORT LayoutTableCell final : public LayoutBlockFlow {
}
const BorderValue& borderAdjoiningCellBefore(const LayoutTableCell* cell) {
- ASSERT_UNUSED(cell, table()->cellAfter(cell) == this);
+ DCHECK_EQ(table()->cellAfter(cell), this);
// FIXME: https://webkit.org/b/79272 - Add support for mixed directionality at the cell level.
return style()->borderStart();
}
const BorderValue& borderAdjoiningCellAfter(const LayoutTableCell* cell) {
- ASSERT_UNUSED(cell, table()->cellBefore(cell) == this);
+ DCHECK_EQ(table()->cellBefore(cell), this);
// FIXME: https://webkit.org/b/79272 - Add support for mixed directionality at the cell level.
return style()->borderEnd();
}

Powered by Google App Engine
This is Rietveld 408576698