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

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, 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 c93a9d71f1eefb44ff4b61f5bf074f66f120bc44..b551af086e3e87492f2e98b5a7c38745e6c953d1 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