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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm

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/LayoutThemeMac.mm
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
index 49778ef4f68db32dd1665a30b17226cc4aad3377..22334c97e2cd961eb2d6ba23b098e78e2554a34d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
@@ -64,9 +64,8 @@
}
- (void)systemColorsDidChange:(NSNotification*)unusedNotification {
- ASSERT_UNUSED(unusedNotification,
- [[unusedNotification name]
- isEqualToString:NSSystemColorsDidChangeNotification]);
+ DCHECK([[unusedNotification name]
+ isEqualToString:NSSystemColorsDidChangeNotification]);
_theme->platformColorsDidChange();
}

Powered by Google App Engine
This is Rietveld 408576698