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

Unified Diff: Source/core/page/Page.cpp

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 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: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index 8484efb036a2c895e22da75f4cb0d693129da03f..25b977cc5d9cc2d21dde8c20e2cd6e6206abf6a8 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -137,7 +137,7 @@ Page::Page(PageClients& pageClients)
, m_timerAlignmentInterval(DOMTimer::visiblePageAlignmentInterval())
, m_visibilityState(PageVisibilityStateVisible)
, m_isCursorVisible(true)
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
, m_isPainting(false)
#endif
, m_frameHost(FrameHost::create(*this))
@@ -432,7 +432,7 @@ double Page::timerAlignmentInterval() const
return m_timerAlignmentInterval;
}
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
void Page::checkSubframeCountConsistency() const
{
ASSERT(m_subframeCount >= 0);

Powered by Google App Engine
This is Rietveld 408576698