Changeset 140048 in webkit


Ignore:
Timestamp:
Jan 17, 2013, 2:46:46 PM (12 years ago)
Author:
alecflett@chromium.org
Message:

IndexedDB: Remove unnecessary call to IDBDatabaseBackendInterface::metadata()
https://bugs.webkit.org/show_bug.cgi?id=107142

Reviewed by Kentaro Hara.

This call isn't necessary, and probably slipped through an earlier review
because of the mention of 'm_metadata'.

No new tests, as this code has no side effects and all tests sill pass.

  • Modules/indexeddb/IDBIndex.cpp:

(WebCore::IDBIndex::count):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140047 r140048  
     12013-01-17  Alec Flett  <alecflett@chromium.org>
     2
     3        IndexedDB: Remove unnecessary call to IDBDatabaseBackendInterface::metadata()
     4        https://bugs.webkit.org/show_bug.cgi?id=107142
     5
     6        Reviewed by Kentaro Hara.
     7
     8        This call isn't necessary, and probably slipped through an earlier review
     9        because of the mention of 'm_metadata'.
     10
     11        No new tests, as this code has no side effects and all tests sill pass.
     12
     13        * Modules/indexeddb/IDBIndex.cpp:
     14        (WebCore::IDBIndex::count):
     15
    1162013-01-17  Ojan Vafai  <ojan@chromium.org>
    217
  • trunk/Source/WebCore/Modules/indexeddb/IDBIndex.cpp

    r139666 r140048  
    100100    }
    101101    RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get());
    102     IDBDatabaseMetadata metadata(m_transaction->db()->metadata());
    103102    backendDB()->count(m_transaction->id(), m_objectStore->id(), m_metadata.id, keyRange, request);
    104103    return request;
Note: See TracChangeset for help on using the changeset viewer.