Title: [167979] trunk/Source/WebCore
Revision
167979
Author
a...@apple.com
Date
2014-04-29 20:36:32 -0700 (Tue, 29 Apr 2014)

Log Message

Remove an unused override of BlobRegistryImpl::appendStorageItems
https://bugs.webkit.org/show_bug.cgi?id=132365

Reviewed by Andreas Kling.

* platform/network/BlobRegistryImpl.cpp:
(WebCore::BlobRegistryImpl::appendStorageItems): Deleted.
* platform/network/BlobRegistryImpl.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (167978 => 167979)


--- trunk/Source/WebCore/ChangeLog	2014-04-30 03:34:01 UTC (rev 167978)
+++ trunk/Source/WebCore/ChangeLog	2014-04-30 03:36:32 UTC (rev 167979)
@@ -1,3 +1,14 @@
+2014-04-29  Alexey Proskuryakov  <a...@apple.com>
+
+        Remove an unused override of BlobRegistryImpl::appendStorageItems
+        https://bugs.webkit.org/show_bug.cgi?id=132365
+
+        Reviewed by Andreas Kling.
+
+        * platform/network/BlobRegistryImpl.cpp:
+        (WebCore::BlobRegistryImpl::appendStorageItems): Deleted.
+        * platform/network/BlobRegistryImpl.h:
+
 2014-04-29  Eric Carlson  <eric.carl...@apple.com>
 
         [Mac] tag the video layers with descriptive name to aid debugging

Modified: trunk/Source/WebCore/platform/network/BlobRegistryImpl.cpp (167978 => 167979)


--- trunk/Source/WebCore/platform/network/BlobRegistryImpl.cpp	2014-04-30 03:34:01 UTC (rev 167978)
+++ trunk/Source/WebCore/platform/network/BlobRegistryImpl.cpp	2014-04-30 03:36:32 UTC (rev 167979)
@@ -84,18 +84,6 @@
     return handle.release();
 }
 
-void BlobRegistryImpl::appendStorageItems(BlobStorageData* blobStorageData, const BlobDataItemList& items)
-{
-    for (BlobDataItemList::const_iterator iter = items.begin(); iter != items.end(); ++iter) {
-        if (iter->type == BlobDataItem::Data)
-            blobStorageData->m_data.appendData(iter->data, iter->offset, iter->length);
-        else {
-            ASSERT(iter->type == BlobDataItem::File);
-            blobStorageData->m_data.appendFile(iter->path, iter->offset, iter->length, iter->expectedModificationTime);
-        }
-    }
-}
-
 void BlobRegistryImpl::appendStorageItems(BlobStorageData* blobStorageData, const BlobDataItemList& items, long long offset, long long length)
 {
     ASSERT(length != BlobDataItem::toEndOfFile);

Modified: trunk/Source/WebCore/platform/network/BlobRegistryImpl.h (167978 => 167979)


--- trunk/Source/WebCore/platform/network/BlobRegistryImpl.h	2014-04-30 03:34:01 UTC (rev 167978)
+++ trunk/Source/WebCore/platform/network/BlobRegistryImpl.h	2014-04-30 03:36:32 UTC (rev 167979)
@@ -55,7 +55,6 @@
     PassRefPtr<ResourceHandle> createResourceHandle(const ResourceRequest&, ResourceHandleClient*);
 
 private:
-    void appendStorageItems(BlobStorageData*, const BlobDataItemList&);
     void appendStorageItems(BlobStorageData*, const BlobDataItemList&, long long offset, long long length);
 
     virtual void registerBlobURL(const URL&, std::unique_ptr<BlobData>) override;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to