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

Unified Diff: Source/modules/indexeddb/IDBObjectStore.cpp

Issue 26435003: WebCore blob hacking (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months 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: Source/modules/indexeddb/IDBObjectStore.cpp
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp
index 3ddfa3387a09c3f446dff43cab033f5baf70f423..119fa67ad3fb6be8a6228a31336cdb3bf139a950 100644
--- a/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -167,7 +167,7 @@ PassRefPtr<IDBRequest> IDBObjectStore::put(IDBDatabaseBackendInterface::PutMode
if (didThrow)
return 0;
- if (serializedValue->blobURLs().size() > 0) {
+ if (serializedValue->containsBlobs()) {
// FIXME: Add Blob/File/FileList support
es.throwUninformativeAndGenericDOMException(DataCloneError);
return 0;

Powered by Google App Engine
This is Rietveld 408576698