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

Unified Diff: Source/bindings/core/v8/DOMWrapperWorld.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
« no previous file with comments | « no previous file | Source/bindings/core/v8/ExceptionStatePlaceholder.h » ('j') | Source/core/dom/Document.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/DOMWrapperWorld.cpp
diff --git a/Source/bindings/core/v8/DOMWrapperWorld.cpp b/Source/bindings/core/v8/DOMWrapperWorld.cpp
index a4d7ee0f334f4e41b3fd1c85d64e2086176a191b..a954b4b267d1e1ad05c7bf46810a4735cd5c0fb6 100644
--- a/Source/bindings/core/v8/DOMWrapperWorld.cpp
+++ b/Source/bindings/core/v8/DOMWrapperWorld.cpp
@@ -122,7 +122,7 @@ void DOMWrapperWorld::dispose()
m_domDataStore.clear();
}
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
static bool isIsolatedWorldId(int worldId)
{
return MainWorldId < worldId && worldId < IsolatedWorldIdLimit;
« no previous file with comments | « no previous file | Source/bindings/core/v8/ExceptionStatePlaceholder.h » ('j') | Source/core/dom/Document.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698