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

Unified Diff: content/browser/indexed_db/indexed_db_internals_ui.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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: 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,
« no previous file with comments | « content/browser/indexed_db/indexed_db_context_impl.cc ('k') | content/browser/indexed_db/indexed_db_quota_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698