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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase Created 3 years, 8 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/platform/scroll/ScrollbarThemeMac.mm
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
index 2717c6c389bf34c14059e925a02d3d2e53411e20..c9d55a9410604baa30691efea7c819b4f1381d9e 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm
@@ -390,7 +390,7 @@ IntRect ScrollbarThemeMac::ForwardButtonRect(
IntRect ScrollbarThemeMac::TrackRect(const ScrollbarThemeClient& scrollbar,
bool painting) {
- ASSERT(!HasButtons(scrollbar));
+ DCHECK(!HasButtons(scrollbar));
return scrollbar.FrameRect();
}

Powered by Google App Engine
This is Rietveld 408576698