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

Side by Side Diff: Source/WebCore/storage/IDBCursorBackendImpl.h

Issue 9121008: Merge 104252 - Source/WebCore: IndexedDB: fix cursor prefetch crash (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 static void continueFunctionInternal(ScriptExecutionContext*, PassRefPtr<IDB CursorBackendImpl>, PassRefPtr<IDBKey>, PassRefPtr<IDBCallbacks>); 72 static void continueFunctionInternal(ScriptExecutionContext*, PassRefPtr<IDB CursorBackendImpl>, PassRefPtr<IDBKey>, PassRefPtr<IDBCallbacks>);
73 static void prefetchContinueInternal(ScriptExecutionContext*, PassRefPtr<IDB CursorBackendImpl>, int numberToFetch, PassRefPtr<IDBCallbacks>); 73 static void prefetchContinueInternal(ScriptExecutionContext*, PassRefPtr<IDB CursorBackendImpl>, int numberToFetch, PassRefPtr<IDBCallbacks>);
74 74
75 RefPtr<IDBBackingStore::Cursor> m_cursor; 75 RefPtr<IDBBackingStore::Cursor> m_cursor;
76 RefPtr<IDBBackingStore::Cursor> m_savedCursor; 76 RefPtr<IDBBackingStore::Cursor> m_savedCursor;
77 IDBCursor::Direction m_direction; 77 IDBCursor::Direction m_direction;
78 CursorType m_cursorType; 78 CursorType m_cursorType;
79 RefPtr<IDBTransactionBackendInterface> m_transaction; 79 RefPtr<IDBTransactionBackendInterface> m_transaction;
80 RefPtr<IDBObjectStoreBackendInterface> m_objectStore; 80 RefPtr<IDBObjectStoreBackendInterface> m_objectStore;
81
82 bool m_closed;
81 }; 83 };
82 84
83 } // namespace WebCore 85 } // namespace WebCore
84 86
85 #endif // ENABLE(INDEXED_DATABASE) 87 #endif // ENABLE(INDEXED_DATABASE)
86 88
87 #endif // IDBCursorBackendImpl_h 89 #endif // IDBCursorBackendImpl_h
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/prefetch-bugfix-108071-expected.txt ('k') | Source/WebCore/storage/IDBCursorBackendImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698