Chromium Code Reviews| Index: Source/modules/webdatabase/AbstractSQLTransaction.h |
| diff --git a/Source/modules/webdatabase/AbstractSQLTransaction.h b/Source/modules/webdatabase/AbstractSQLTransaction.h |
| index ba8e9997e5d7971df8c4c82f53d9a52616c1532a..5d15f3ef8e8d5f588cc64229bdca1f4bf8274ef9 100644 |
| --- a/Source/modules/webdatabase/AbstractSQLTransaction.h |
| +++ b/Source/modules/webdatabase/AbstractSQLTransaction.h |
| @@ -26,6 +26,7 @@ |
| #ifndef AbstractSQLTransaction_h |
| #define AbstractSQLTransaction_h |
| +#include "heap/Handle.h" |
| #include "modules/webdatabase/SQLTransactionState.h" |
| #include "wtf/ThreadSafeRefCounted.h" |
| @@ -33,9 +34,10 @@ namespace WebCore { |
| class AbstractSQLTransactionBackend; |
| -class AbstractSQLTransaction : public ThreadSafeRefCounted<AbstractSQLTransaction> { |
| +class AbstractSQLTransaction : public ThreadSafeRefCountedWillBeGarbageCollectedFinalized<AbstractSQLTransaction> { |
| public: |
| virtual ~AbstractSQLTransaction() { } |
| + virtual void trace(Visitor*) { } |
|
haraken
2014/03/14 08:53:01
Can this be a pure virtual method? This class has
Erik Corry
2014/03/14 09:07:11
That's a good idea and also means you don't have t
tkent
2014/03/15 17:00:28
Done.
|
| virtual void requestTransitToState(SQLTransactionState) = 0; |