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

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 d9be7f59e6f0a2940e3a42ec030ea473b1d5fabd..9061baddd393d94051a71a438d45ebedd336b292 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