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

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

Issue 23992003: blob hacking webcore style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 8f89c097becda82a8fee4ef443e0e8d5a972cb57..f17c9fa7c5f2912b64427074782bfc70f753e9b7 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