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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutItem.h

Issue 2513893002: Make ifdefs consistent in WebKit/Source/core/ (Closed)
Patch Set: Limited fix to /core/ only. Created 4 years, 1 month 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/api/LineLayoutItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
index 0978c80e0f9d39c8bba70cf84a13f4600020f5a5..bdc02ae8ff7132c56d1e85b59358ee8b8080e1e2 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
@@ -319,7 +319,7 @@ class LineLayoutItem {
static const bool safeToCompareToEmptyOrDeleted = true;
};
-#ifndef NDEBUG
+#if DCHECK_IS_ON()
const char* name() const { return m_layoutObject->name(); }

Powered by Google App Engine
This is Rietveld 408576698