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

Unified Diff: Source/modules/webdatabase/SQLResultSetRowList.h

Issue 207453006: Oilpan: Prepare to move SQLResultSet and SQLResultSetRowList to oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove setValid Created 6 years, 9 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/modules/webdatabase/SQLResultSet.idl ('k') | Source/modules/webdatabase/SQLResultSetRowList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/SQLResultSetRowList.h
diff --git a/Source/modules/webdatabase/SQLResultSetRowList.h b/Source/modules/webdatabase/SQLResultSetRowList.h
index 74565aec24092695ec6bebdf1542d04678717b39..cf3ab76e5546282b6781c87368ca8d28e90de5c2 100644
--- a/Source/modules/webdatabase/SQLResultSetRowList.h
+++ b/Source/modules/webdatabase/SQLResultSetRowList.h
@@ -30,15 +30,17 @@
#define SQLResultSetRowList_h
#include "bindings/v8/ScriptWrappable.h"
+#include "heap/Handle.h"
#include "modules/webdatabase/sqlite/SQLValue.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
namespace WebCore {
-class SQLResultSetRowList : public RefCounted<SQLResultSetRowList>, public ScriptWrappable {
+class SQLResultSetRowList : public RefCountedWillBeGarbageCollectedFinalized<SQLResultSetRowList>, public ScriptWrappable {
public:
- static PassRefPtr<SQLResultSetRowList> create() { return adoptRef(new SQLResultSetRowList); }
+ static PassRefPtrWillBeRawPtr<SQLResultSetRowList> create() { return adoptRefWillBeNoop(new SQLResultSetRowList); }
+ void trace(Visitor*) { }
const Vector<String>& columnNames() const { return m_columns; }
const Vector<SQLValue>& values() const { return m_result; }
« no previous file with comments | « Source/modules/webdatabase/SQLResultSet.idl ('k') | Source/modules/webdatabase/SQLResultSetRowList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698