Changeset 80468 in webkit
- Timestamp:
- Mar 7, 2011 7:38:43 AM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r80467 r80468 1 2011-03-07 Andrei Popescu <andreip@google.com> 2 3 Reviewed by Steve Block. 4 5 IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused. 6 IDBObjectStore objects used to be created asynchronously, so we needed 7 this method to be invoked, with the new object store as the parameter, 8 whenever the creation succeeded. The spec has changed so that IDBObjectStore 9 objects are created synchronously, so this method is no longer needed. 10 https://bugs.webkit.org/show_bug.cgi?id=55777 11 12 No new tests, just refactoring. 13 14 * storage/IDBCallbacks.h: 15 * storage/IDBRequest.cpp: 16 * storage/IDBRequest.h: 17 1 18 2011-03-04 Steve Block <steveblock@google.com> 2 19 -
trunk/Source/WebCore/storage/IDBCallbacks.h
r78752 r80468 54 54 virtual void onSuccess(PassRefPtr<IDBIndexBackendInterface>) = 0; 55 55 virtual void onSuccess(PassRefPtr<IDBKey>) = 0; 56 virtual void onSuccess(PassRefPtr<IDBObjectStoreBackendInterface>) = 0;57 56 virtual void onSuccess(PassRefPtr<IDBTransactionBackendInterface>) = 0; 58 57 virtual void onSuccess(PassRefPtr<SerializedScriptValue>) = 0; -
trunk/Source/WebCore/storage/IDBRequest.cpp
r80183 r80468 41 41 #include "IDBEventDispatcher.h" 42 42 #include "IDBIndex.h" 43 #include "IDBObjectStore.h"44 43 #include "IDBPendingTransactionMonitor.h" 45 44 #include "IDBTransaction.h" … … 217 216 m_result = IDBAny::create(idbKey); 218 217 enqueueEvent(createSuccessEvent()); 219 }220 221 void IDBRequest::onSuccess(PassRefPtr<IDBObjectStoreBackendInterface> backend)222 {223 ASSERT_NOT_REACHED(); // FIXME: This method should go away.224 218 } 225 219 -
trunk/Source/WebCore/storage/IDBRequest.h
r80171 r80468 79 79 virtual void onSuccess(PassRefPtr<IDBIndexBackendInterface>); 80 80 virtual void onSuccess(PassRefPtr<IDBKey>); 81 virtual void onSuccess(PassRefPtr<IDBObjectStoreBackendInterface>);82 81 virtual void onSuccess(PassRefPtr<IDBTransactionBackendInterface>); 83 82 virtual void onSuccess(PassRefPtr<SerializedScriptValue>); -
trunk/Source/WebKit/chromium/ChangeLog
r80461 r80468 1 2011-03-07 Andrei Popescu <andreip@google.com> 2 3 Reviewed by Steve Block. 4 5 IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused. 6 https://bugs.webkit.org/show_bug.cgi?id=55777 7 8 * src/IDBCallbacksProxy.cpp: 9 * src/IDBCallbacksProxy.h: 10 * src/WebIDBCallbacksImpl.cpp: 11 * src/WebIDBCallbacksImpl.h: 12 1 13 2011-03-07 Sheriff Bot <webkit.review.bot@gmail.com> 2 14 -
trunk/Source/WebKit/chromium/src/IDBCallbacksProxy.cpp
r78752 r80468 38 38 #include "WebIDBIndexImpl.h" 39 39 #include "WebIDBKey.h" 40 #include "WebIDBObjectStoreImpl.h"41 40 #include "WebIDBTransactionImpl.h" 42 41 #include "WebSerializedScriptValue.h" … … 85 84 } 86 85 87 void IDBCallbacksProxy::onSuccess(PassRefPtr<IDBObjectStoreBackendInterface> backend)88 {89 m_callbacks->onSuccess(new WebKit::WebIDBObjectStoreImpl(backend));90 }91 92 86 void IDBCallbacksProxy::onSuccess(PassRefPtr<IDBTransactionBackendInterface> backend) 93 87 { -
trunk/Source/WebKit/chromium/src/IDBCallbacksProxy.h
r78752 r80468 53 53 virtual void onSuccess(PassRefPtr<IDBIndexBackendInterface>); 54 54 virtual void onSuccess(PassRefPtr<IDBKey>); 55 virtual void onSuccess(PassRefPtr<IDBObjectStoreBackendInterface>);56 55 virtual void onSuccess(PassRefPtr<IDBTransactionBackendInterface>); 57 56 virtual void onSuccess(PassRefPtr<SerializedScriptValue>); -
trunk/Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp
r78752 r80468 33 33 #include "IDBIndexBackendProxy.h" 34 34 #include "IDBKey.h" 35 #include "IDBObjectStoreProxy.h"36 35 #include "IDBTransactionBackendProxy.h" 37 36 #include "WebIDBCallbacks.h" … … 40 39 #include "WebIDBIndex.h" 41 40 #include "WebIDBKey.h" 42 #include "WebIDBObjectStore.h"43 41 #include "WebIDBTransaction.h" 44 42 #include "WebSerializedScriptValue.h" … … 82 80 } 83 81 84 void WebIDBCallbacksImpl::onSuccess(WebKit::WebIDBObjectStore* webKitInstance)85 {86 m_callbacks->onSuccess(IDBObjectStoreProxy::create(webKitInstance));87 }88 89 82 void WebIDBCallbacksImpl::onSuccess(WebKit::WebIDBTransaction* webKitInstance) 90 83 { -
trunk/Source/WebKit/chromium/src/WebIDBCallbacksImpl.h
r78752 r80468 47 47 virtual void onSuccess(const WebKit::WebIDBKey&); 48 48 virtual void onSuccess(WebKit::WebIDBIndex*); 49 virtual void onSuccess(WebKit::WebIDBObjectStore*);50 49 virtual void onSuccess(WebKit::WebIDBTransaction*); 51 50 virtual void onSuccess(const WebKit::WebSerializedScriptValue&);
Note: See TracChangeset
for help on using the changeset viewer.