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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Split some DCHECKs and add DCHECK_ops wherever possible 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/core/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 149cb93de6d81c71d3af06833ce034636d9e96f8..6fce743ebf5c090071cab99b45392363bc3060f3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -77,7 +77,7 @@ LayoutTheme::LayoutTheme(Theme* platformTheme)
: m_hasCustomFocusRingColor(false), m_platformTheme(platformTheme) {}
void LayoutTheme::adjustStyle(ComputedStyle& style, Element* e) {
- ASSERT(style.hasAppearance());
+ DCHECK(style.hasAppearance());
// Force inline and table display styles to be inline-block (except for table-
// which is block)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698