Index: content/browser/indexed_db/indexed_db_dispatcher_host.cc |
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc |
index b627393c8de2635f504d0d9d4b5a5fc710dc238b..7b7d6c12f65a2fdc8f67b281ad84d32fb40da5ae 100644 |
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc |
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc |
@@ -872,7 +872,10 @@ void IndexedDBDispatcherHost::CursorDispatcherHost::OnPrefetchReset( |
if (!idb_cursor) |
return; |
- idb_cursor->PrefetchReset(used_prefetches, unused_prefetches); |
+ leveldb::Status s = |
+ idb_cursor->PrefetchReset(used_prefetches, unused_prefetches); |
+ if (s.ok()) |
jsbell
2014/04/14 20:44:20
This test seems backwards?
cmumford
2014/04/14 23:39:23
You are correct - thx!
|
+ DLOG(ERROR) << "Unable to reset prefetch"; |
jsbell
2014/04/14 20:44:20
Should there be a TODO to do more here?
cmumford
2014/04/14 23:39:23
Done.
|
} |
void IndexedDBDispatcherHost::CursorDispatcherHost::OnDestroyed( |