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

Unified Diff: Source/modules/webdatabase/InspectorDatabaseAgent.cpp

Issue 949193002: [bindings] Remove SQLTransaction's usage of custom binding. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding null check for arguments. Created 5 years, 10 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/modules/webdatabase/InspectorDatabaseAgent.cpp
diff --git a/Source/modules/webdatabase/InspectorDatabaseAgent.cpp b/Source/modules/webdatabase/InspectorDatabaseAgent.cpp
index 666ffb112b25eedc9c8c332aac6d55a59627b733..f3fa0fd084321dbd5d3daa6af408a04104648ff6 100644
--- a/Source/modules/webdatabase/InspectorDatabaseAgent.cpp
+++ b/Source/modules/webdatabase/InspectorDatabaseAgent.cpp
@@ -159,10 +159,9 @@ public:
if (!m_requestCallback->isActive())
return true;
- Vector<SQLValue> sqlValues;
SQLStatementCallback* callback = StatementCallback::create(m_requestCallback.get());
SQLStatementErrorCallback* errorCallback = StatementErrorCallback::create(m_requestCallback.get());
- transaction->executeSQL(m_sqlStatement, sqlValues, callback, errorCallback, IGNORE_EXCEPTION);
+ transaction->executeSql(m_sqlStatement, Vector<ScriptValue>(), callback, errorCallback, IGNORE_EXCEPTION);
return true;
}
private:

Powered by Google App Engine
This is Rietveld 408576698