| Index: Source/modules/webdatabase/SQLResultSet.h
|
| diff --git a/Source/modules/webdatabase/SQLResultSet.h b/Source/modules/webdatabase/SQLResultSet.h
|
| index 3c5a9747454e7787780613ee358c9bbc5adbdffb..bc1b60fbdf9efee22e17770acc188c35893f781e 100644
|
| --- a/Source/modules/webdatabase/SQLResultSet.h
|
| +++ b/Source/modules/webdatabase/SQLResultSet.h
|
| @@ -38,9 +38,10 @@ namespace WebCore {
|
|
|
| class ExceptionState;
|
|
|
| -class SQLResultSet : public ThreadSafeRefCounted<SQLResultSet>, public ScriptWrappable {
|
| +class SQLResultSet : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<SQLResultSet>, public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<SQLResultSet> create() { return adoptRef(new SQLResultSet); }
|
| + static PassRefPtrWillBeRawPtr<SQLResultSet> create() { return adoptRefWillBeNoop(new SQLResultSet); }
|
| + void trace(Visitor*);
|
|
|
| SQLResultSetRowList* rows() const;
|
|
|
| @@ -50,14 +51,17 @@ public:
|
| // For internal (non-JS) use
|
| void setInsertId(int64_t);
|
| void setRowsAffected(int);
|
| + void setValid() { m_isValid = true; }
|
| + bool isValid() { return m_isValid; }
|
|
|
| private:
|
| SQLResultSet();
|
|
|
| - RefPtr<SQLResultSetRowList> m_rows;
|
| + RefPtrWillBeMember<SQLResultSetRowList> m_rows;
|
| int64_t m_insertId;
|
| - bool m_insertIdSet;
|
| int m_rowsAffected;
|
| + bool m_insertIdSet;
|
| + bool m_isValid;
|
| };
|
|
|
| } // namespace WebCore
|
|
|