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

Unified Diff: webkit/appcache/appcache_storage_impl.cc

Issue 4291001: Convert implicit scoped_refptr constructor calls to explicit ones, part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/build
Patch Set: comments Created 10 years, 1 month 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
« no previous file with comments | « remoting/protocol/protocol_test_client.cc ('k') | webkit/appcache/mock_appcache_storage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_storage_impl.cc
diff --git a/webkit/appcache/appcache_storage_impl.cc b/webkit/appcache/appcache_storage_impl.cc
index 232dffb9929e460070d85384e9679ab7cdc42c85..c8f6e3af32d0eff44e69c06078ef45a7acae65df 100644
--- a/webkit/appcache/appcache_storage_impl.cc
+++ b/webkit/appcache/appcache_storage_impl.cc
@@ -48,7 +48,7 @@ class AppCacheStorageImpl::DatabaseTask
virtual ~DatabaseTask() {}
void AddDelegate(DelegateReference* delegate_reference) {
- delegates_.push_back(delegate_reference);
+ delegates_.push_back(make_scoped_refptr(delegate_reference));
}
// Schedules a task to be Run() on the DB thread. Tasks
« no previous file with comments | « remoting/protocol/protocol_test_client.cc ('k') | webkit/appcache/mock_appcache_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698