Title: [140048] trunk/Source/WebCore
Revision
140048
Author
alecfl...@chromium.org
Date
2013-01-17 14:46:46 -0800 (Thu, 17 Jan 2013)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (140047 => 140048)


--- trunk/Source/WebCore/ChangeLog	2013-01-17 22:41:14 UTC (rev 140047)
+++ trunk/Source/WebCore/ChangeLog	2013-01-17 22:46:46 UTC (rev 140048)
@@ -1,3 +1,18 @@
+2013-01-17  Alec Flett  <alecfl...@chromium.org>
+
+        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):
+
 2013-01-17  Ojan Vafai  <o...@chromium.org>
 
         Table layout does not need to explicitly call computePreferredLogicalWidths

Modified: trunk/Source/WebCore/Modules/indexeddb/IDBIndex.cpp (140047 => 140048)


--- trunk/Source/WebCore/Modules/indexeddb/IDBIndex.cpp	2013-01-17 22:41:14 UTC (rev 140047)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBIndex.cpp	2013-01-17 22:46:46 UTC (rev 140048)
@@ -99,7 +99,6 @@
         return 0;
     }
     RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get());
-    IDBDatabaseMetadata metadata(m_transaction->db()->metadata());
     backendDB()->count(m_transaction->id(), m_objectStore->id(), m_metadata.id, keyRange, request);
     return request;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to