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

Unified Diff: Source/bindings/modules/v8/IDBBindingUtilities.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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 | « Source/bindings/core/v8/npruntime.cpp ('k') | Source/bindings/modules/v8/IDBBindingUtilities.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/modules/v8/IDBBindingUtilities.h
diff --git a/Source/bindings/modules/v8/IDBBindingUtilities.h b/Source/bindings/modules/v8/IDBBindingUtilities.h
index 4d0c45fd3d65d311361627d481a611bbe3421c42..cadde00544e987eed3dbed54f21339a58fc54629 100644
--- a/Source/bindings/modules/v8/IDBBindingUtilities.h
+++ b/Source/bindings/modules/v8/IDBBindingUtilities.h
@@ -58,7 +58,7 @@ IDBKey* scriptValueToIDBKey(v8::Isolate*, const ScriptValue&);
IDBKeyRange* scriptValueToIDBKeyRange(v8::Isolate*, const ScriptValue&);
ScriptValue deserializeScriptValue(ScriptState*, SerializedScriptValue*, const Vector<blink::WebBlobInfo>*);
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
void assertPrimaryKeyValidOrInjectable(ScriptState*, PassRefPtr<SharedBuffer>, const Vector<blink::WebBlobInfo>*, IDBKey*, const IDBKeyPath&);
#endif
« no previous file with comments | « Source/bindings/core/v8/npruntime.cpp ('k') | Source/bindings/modules/v8/IDBBindingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698