RESOLVED FIXED 74205
IndexedDB: Clean up WebIDBObjectStore createIndex temp code
https://bugs.webkit.org/show_bug.cgi?id=74205
Summary IndexedDB: Clean up WebIDBObjectStore createIndex temp code
Joshua Bell
Reported 2011-12-09 13:10:10 PST
Now that callers (i.e. Chromium) are updated to implement the new signatures, the old methods can be removed: diff --git a/Source/WebKit/chromium/public/WebIDBObjectStore.h b/Source/WebKit/chromium/public/WebIDBObjectStore.h index 4448a9b..ab3df5f 100755 --- a/Source/WebKit/chromium/public/WebIDBObjectStore.h +++ b/Source/WebKit/chromium/public/WebIDBObjectStore.h @@ -70,16 +70,7 @@ public: virtual void put(const WebSerializedScriptValue&, const WebIDBKey&, PutMode, WebIDBCallbacks*, const WebIDBTransaction&, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); } virtual void deleteFunction(const WebIDBKey&, WebIDBCallbacks*, const WebIDBTransaction&, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); } virtual void clear(WebIDBCallbacks*, const WebIDBTransaction&, WebExceptionCode&) { WEBKIT_ASSERT_NOT_REACHED(); } - // FIXME: Remove once callers are updated. - virtual WebIDBIndex* createIndex(const WebString& name, const WebString& keyPath, bool unique, const WebIDBTransaction& transaction, WebExceptionCode& ec) - { - return createIndex(name, keyPath, unique, false, transaction, ec); - } - virtual WebIDBIndex* createIndex(const WebString& name, const WebString& keyPath, bool unique, bool multiEntry, const WebIDBTransaction& transaction, WebExceptionCode& ec) - { - // FIXME: Assert not reached once implementing classes are updated. - return createIndex(name, keyPath, unique, transaction, ec); - } + virtual WebIDBIndex* createIndex(const WebString& name, const WebString& keyPath, bool unique, bool multiEntry, const WebIDBTransaction& transaction, WebExceptionCode& ec) { WEBKIT_ASSERT_NOT_REACHED(); } // Transfers ownership of the WebIDBIndex to the caller. virtual WebIDBIndex* index(const WebString& name, WebExceptionCode&) {
Attachments
Patch (2.39 KB, patch)
2011-12-15 14:07 PST, Joshua Bell
no flags
Joshua Bell
Comment 1 2011-12-15 14:07:03 PST
WebKit Review Bot
Comment 2 2011-12-15 14:09:45 PST
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
WebKit Review Bot
Comment 3 2011-12-15 22:00:15 PST
Comment on attachment 119500 [details] Patch Clearing flags on attachment: 119500 Committed r103025: <http://trac.webkit.org/changeset/103025>
WebKit Review Bot
Comment 4 2011-12-15 22:00:19 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.