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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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/bindings/core/v8/ScriptFunction.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp
index 1c448de612e32a9f1492748b19058c7db62af6e5..f9ee2452e3eedb0ae374053dfe7f5c021f63e443 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptFunction.cpp
@@ -9,7 +9,7 @@
namespace blink {
v8::Local<v8::Function> ScriptFunction::bindToV8Function() {
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
DCHECK(!m_bindToV8FunctionAlreadyCalled);
m_bindToV8FunctionAlreadyCalled = true;
#endif

Powered by Google App Engine
This is Rietveld 408576698