Changeset 147029 in webkit
- Timestamp:
- Mar 27, 2013 5:13:12 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147028 r147029 1 2013-03-27 Charles Wei <charles.wei@torchmobile.com.cn> 2 3 Remove build warning for unused function parameters in indexeddb. 4 https://bugs.webkit.org/show_bug.cgi?id=113043 5 6 Reviewed by Tony Chang. 7 8 No new tests, just remove build warning. 9 10 * Modules/indexeddb/IDBCallbacks.h: 11 (WebCore::IDBCallbacks::onBlocked): 12 (WebCore::IDBCallbacks::onUpgradeNeeded): 13 * Modules/indexeddb/IDBCursor.cpp: 14 (WebCore::IDBCursor::stringToDirection): 15 * Modules/indexeddb/IDBCursor.h: 16 (IDBCursor): 17 * Modules/indexeddb/IDBCursorBackendImpl.cpp: 18 (WebCore::IDBCursorBackendImpl::prefetchReset): 19 * Modules/indexeddb/IDBDatabase.cpp: 20 (WebCore::IDBDatabase::transaction): 21 * Modules/indexeddb/IDBDatabaseBackendImpl.cpp: 22 (WebCore::IDBDatabaseBackendImpl::setIndexesReady): 23 * Modules/indexeddb/IDBIndex.cpp: 24 (WebCore::IDBIndex::openCursor): 25 (WebCore::IDBIndex::openKeyCursor): 26 * Modules/indexeddb/IDBLevelDBCoding.cpp: 27 (IDBLevelDBCoding): 28 * Modules/indexeddb/IDBObjectStore.cpp: 29 (WebCore): 30 (WebCore::IDBObjectStore::openCursor): 31 * Modules/indexeddb/IDBTransaction.cpp: 32 (WebCore::IDBTransaction::stringToMode): 33 * Modules/indexeddb/IDBTransaction.h: 34 (IDBTransaction): 35 * inspector/InspectorIndexedDBAgent.cpp: 36 (WebCore): 37 1 38 2013-03-27 Sergey Ryazanov <serya@chromium.org> 2 39 -
trunk/Source/WebCore/Modules/indexeddb/IDBCallbacks.h
r143694 r147029 69 69 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >& keys, const Vector<RefPtr<IDBKey> >& primaryKeys, const Vector<RefPtr<SharedBuffer> >& values) = 0; 70 70 // From IDBFactory.open()/deleteDatabase() 71 virtual void onBlocked(int64_t existingVersion) { ASSERT_NOT_REACHED(); }71 virtual void onBlocked(int64_t /* existingVersion */) { ASSERT_NOT_REACHED(); } 72 72 // From IDBFactory.open() 73 virtual void onUpgradeNeeded(int64_t oldVersion, PassRefPtr<IDBDatabaseBackendInterface>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); }73 virtual void onUpgradeNeeded(int64_t /* oldVersion */, PassRefPtr<IDBDatabaseBackendInterface>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); } 74 74 virtual void onSuccess(PassRefPtr<IDBDatabaseBackendInterface>, const IDBDatabaseMetadata&) { ASSERT_NOT_REACHED(); } 75 75 }; -
trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp
r145929 r147029 298 298 } 299 299 300 IndexedDB::CursorDirection IDBCursor::stringToDirection(const String& directionString, ScriptExecutionContext* context,ExceptionCode& ec)300 IndexedDB::CursorDirection IDBCursor::stringToDirection(const String& directionString, ExceptionCode& ec) 301 301 { 302 302 if (directionString == IDBCursor::directionNext()) -
trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h
r145929 r147029 56 56 static const AtomicString& directionPrevUnique(); 57 57 58 static IndexedDB::CursorDirection stringToDirection(const String& modeString, ScriptExecutionContext*,ExceptionCode&);58 static IndexedDB::CursorDirection stringToDirection(const String& modeString, ExceptionCode&); 59 59 static const AtomicString& directionToString(unsigned short mode); 60 60 -
trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackendImpl.cpp
r144820 r147029 221 221 } 222 222 223 void IDBCursorBackendImpl::prefetchReset(int usedPrefetches, int unusedPrefetches)223 void IDBCursorBackendImpl::prefetchReset(int usedPrefetches, int) 224 224 { 225 225 IDB_TRACE("IDBCursorBackendImpl::prefetchReset"); -
trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp
r146540 r147029 231 231 } 232 232 233 IndexedDB::TransactionMode mode = IDBTransaction::stringToMode(modeString, context,ec);233 IndexedDB::TransactionMode mode = IDBTransaction::stringToMode(modeString, ec); 234 234 if (ec) 235 235 return 0; -
trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp
r146225 r147029 916 916 } 917 917 918 void IDBDatabaseBackendImpl::setIndexesReady(int64_t transactionId, int64_t objectStoreId, const Vector<int64_t>& indexIds)918 void IDBDatabaseBackendImpl::setIndexesReady(int64_t transactionId, int64_t, const Vector<int64_t>& indexIds) 919 919 { 920 920 IDB_TRACE("IDBObjectStoreBackendImpl::setIndexesReady"); -
trunk/Source/WebCore/Modules/indexeddb/IDBIndex.cpp
r144820 r147029 68 68 return 0; 69 69 } 70 IndexedDB::CursorDirection direction = IDBCursor::stringToDirection(directionString, context,ec);70 IndexedDB::CursorDirection direction = IDBCursor::stringToDirection(directionString, ec); 71 71 if (ec) 72 72 return 0; … … 123 123 return 0; 124 124 } 125 IndexedDB::CursorDirection direction = IDBCursor::stringToDirection(directionString, context,ec);125 IndexedDB::CursorDirection direction = IDBCursor::stringToDirection(directionString, ec); 126 126 if (ec) 127 127 return 0; -
trunk/Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp
r146132 r147029 727 727 728 728 template<typename KeyType> 729 int compare(const LevelDBSlice& a, const LevelDBSlice& b, bool ignoreDuplicates, bool& ok)729 int compare(const LevelDBSlice& a, const LevelDBSlice& b, bool, bool& ok) 730 730 { 731 731 KeyType keyA; … … 750 750 751 751 template<> 752 int compare<ExistsEntryKey>(const LevelDBSlice& a, const LevelDBSlice& b, bool ignoreDuplicates, bool& ok)752 int compare<ExistsEntryKey>(const LevelDBSlice& a, const LevelDBSlice& b, bool, bool& ok) 753 753 { 754 754 KeyPrefix prefixA; … … 773 773 774 774 template<> 775 int compare<ObjectStoreDataKey>(const LevelDBSlice& a, const LevelDBSlice& b, bool ignoreDuplicates, bool& ok)775 int compare<ObjectStoreDataKey>(const LevelDBSlice& a, const LevelDBSlice& b, bool, bool& ok) 776 776 { 777 777 KeyPrefix prefixA; -
trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp
r144820 r147029 321 321 } 322 322 323 virtual void handleEvent(ScriptExecutionContext* context, Event* event)323 virtual void handleEvent(ScriptExecutionContext*, Event* event) 324 324 { 325 325 ASSERT(event->type() == eventNames().successEvent); … … 505 505 return 0; 506 506 } 507 IndexedDB::CursorDirection direction = IDBCursor::stringToDirection(directionString, context,ec);507 IndexedDB::CursorDirection direction = IDBCursor::stringToDirection(directionString, ec); 508 508 if (ec) 509 509 return 0; -
trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
r146629 r147029 337 337 } 338 338 339 IndexedDB::TransactionMode IDBTransaction::stringToMode(const String& modeString, ScriptExecutionContext* context,ExceptionCode& ec)339 IndexedDB::TransactionMode IDBTransaction::stringToMode(const String& modeString, ExceptionCode& ec) 340 340 { 341 341 if (modeString.isNull() -
trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h
r144820 r147029 63 63 static const AtomicString& modeReadWriteLegacy(); 64 64 65 static IndexedDB::TransactionMode stringToMode(const String&, ScriptExecutionContext*,ExceptionCode&);65 static IndexedDB::TransactionMode stringToMode(const String&, ExceptionCode&); 66 66 static const AtomicString& modeToString(IndexedDB::TransactionMode); 67 67 -
trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp
r146218 r147029 203 203 }; 204 204 205 void ExecutableWithDatabase::start(IDBFactory* idbFactory, SecurityOrigin* securityOrigin, const String& databaseName)205 void ExecutableWithDatabase::start(IDBFactory* idbFactory, SecurityOrigin*, const String& databaseName) 206 206 { 207 207 RefPtr<OpenDatabaseCallback> callback = OpenDatabaseCallback::create(this);
Note: See TracChangeset
for help on using the changeset viewer.