Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: WebKit/chromium/src/WebBlobData.cpp

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: WebKit/chromium/src/WebBlobData.cpp
===================================================================
--- WebKit/chromium/src/WebBlobData.cpp (revision 136547)
+++ WebKit/chromium/src/WebBlobData.cpp (working copy)
@@ -67,7 +67,7 @@
const BlobDataItem& item = m_private->items()[index];
result.data.reset();
result.filePath.reset();
- result.blobURL = KURL();
+ result.blobUUID.reset();
result.offset = item.offset;
result.length = item.length;
result.expectedModificationTime = item.expectedModificationTime;
@@ -83,12 +83,11 @@
return true;
case BlobDataItem::Blob:
result.type = Item::TypeBlob;
- result.blobURL = item.url; // FIXME: deprecate this.
- result.url = item.url;
+ result.blobUUID = item.blobDataHandle->uuid();
return true;
- case BlobDataItem::URL:
- result.type = Item::TypeURL;
- result.url = item.url;
+ case BlobDataItem::FileSystemURL:
+ result.type = Item::TypeFileSystemURL;
+ result.fileSystemURL = item.fileSystemURL;
return true;
}
ASSERT_NOT_REACHED();

Powered by Google App Engine
This is Rietveld 408576698