Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / indexeddb / IDBCursor.h
index 02af5b8..b44a442 100644 (file)
@@ -41,18 +41,18 @@ namespace blink {
 class ExceptionState;
 class IDBAny;
 class IDBTransaction;
-class ExecutionContext;
+class ScriptState;
 class SharedBuffer;
 class WebBlobInfo;
 
 class IDBCursor : public GarbageCollectedFinalized<IDBCursor>, public ScriptWrappable {
     DEFINE_WRAPPERTYPEINFO();
+    USING_PRE_FINALIZER(IDBCursor, dispose);
 public:
     static WebIDBCursorDirection stringToDirection(const String& modeString, ExceptionState&);
 
     static IDBCursor* create(PassOwnPtr<WebIDBCursor>, WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*);
     virtual ~IDBCursor();
-    void dispose();
     void trace(Visitor*);
     void contextWillBeDestroyed() { m_backend.clear(); }
 
@@ -87,6 +87,7 @@ protected:
     IDBCursor(PassOwnPtr<WebIDBCursor>, WebIDBCursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*);
 
 private:
+    void dispose();
     IDBObjectStore* effectiveObjectStore() const;
     void handleBlobAcks();