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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp

Issue 2817533003: Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED in bindings (Closed)
Patch Set: Created 3 years, 8 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/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp b/third_party/WebKit/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
index 52fc89225844c9e429df8a7080cd80b2c428728e..6fff94e23977457f62da41042a8597e19d3a6e9d 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp
@@ -53,7 +53,7 @@ bool V8SQLStatementErrorCallback::handleEvent(SQLTransaction* transaction,
ToV8(transaction, m_scriptState->GetContext()->Global(), isolate);
v8::Local<v8::Value> error_handle =
ToV8(error, m_scriptState->GetContext()->Global(), isolate);
- ASSERT(transaction_handle->IsObject());
+ DCHECK(transaction_handle->IsObject());
v8::Local<v8::Value> argv[] = {transaction_handle, error_handle};

Powered by Google App Engine
This is Rietveld 408576698