Index: content/browser/indexed_db/indexed_db_internals_ui.cc |
diff --git a/content/browser/indexed_db/indexed_db_internals_ui.cc b/content/browser/indexed_db/indexed_db_internals_ui.cc |
index 0f7bc3e0741727646b71b52987faca4c4fad4d95..2ec1b5bdb5fbdd8f21f1edffb116c7752dc6ce6e 100644 |
--- a/content/browser/indexed_db/indexed_db_internals_ui.cc |
+++ b/content/browser/indexed_db/indexed_db_internals_ui.cc |
@@ -104,7 +104,7 @@ void IndexedDBInternalsUI::GetAllOriginsOnWebkitThread( |
for (ContextList::const_iterator iter = contexts->begin(); |
iter != contexts->end(); |
++iter, ++path_iter) { |
- IndexedDBContext* context = *iter; |
+ IndexedDBContext* context = iter->get(); |
const base::FilePath& context_path = *path_iter; |
scoped_ptr<std::vector<IndexedDBInfo> > info_list( |
@@ -174,7 +174,7 @@ void IndexedDBInternalsUI::DownloadOriginData(const base::ListValue* args) { |
&FindContext, partition_path, &result_partition, &result_context); |
BrowserContext::ForEachStoragePartition(browser_context, cb); |
DCHECK(result_partition); |
- DCHECK(result_context); |
+ DCHECK(result_context.get()); |
BrowserThread::PostTask( |
BrowserThread::WEBKIT_DEPRECATED, |