summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp b/WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp
index 14e9baa..fc643ad 100644
--- a/WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp
+++ b/WebCore/bindings/js/JSSQLResultSetRowListCustom.cpp
@@ -37,10 +37,10 @@ using namespace JSC;
namespace WebCore {
-JSValue* JSSQLResultSetRowList::item(ExecState* exec, const ArgList& args)
+JSValuePtr JSSQLResultSetRowList::item(ExecState* exec, const ArgList& args)
{
bool indexOk;
- int index = args.at(exec, 0)->toInt32(exec, indexOk);
+ int index = args.at(exec, 0).toInt32(exec, indexOk);
if (!indexOk) {
setDOMException(exec, TYPE_MISMATCH_ERR);
return jsUndefined();
@@ -56,7 +56,7 @@ JSValue* JSSQLResultSetRowList::item(ExecState* exec, const ArgList& args)
unsigned valuesIndex = index * numColumns;
for (unsigned i = 0; i < numColumns; i++) {
const SQLValue& value = m_impl->values()[valuesIndex + i];
- JSValue* jsValue = noValue();
+ JSValuePtr jsValue = noValue();
switch (value.type()) {
case SQLValue::StringValue: