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

Unified Diff: webkit/appcache/mock_appcache_storage.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit Created 10 years, 2 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: webkit/appcache/mock_appcache_storage.cc
diff --git a/webkit/appcache/mock_appcache_storage.cc b/webkit/appcache/mock_appcache_storage.cc
index 6bf3e8de8666be9a5174147bbeb48cc863a9f793..a50dca614a4f62ff95013c5b905c848b4fff0d64 100644
--- a/webkit/appcache/mock_appcache_storage.cc
+++ b/webkit/appcache/mock_appcache_storage.cc
@@ -171,7 +171,7 @@ void MockAppCacheStorage::ProcessLoadCache(
void MockAppCacheStorage::ProcessLoadOrCreateGroup(
const GURL& manifest_url, scoped_refptr<DelegateReference> delegate_ref) {
- scoped_refptr<AppCacheGroup> group = working_set_.GetGroup(manifest_url);
+ scoped_refptr<AppCacheGroup> group(working_set_.GetGroup(manifest_url));
// Newly created groups are not put in the stored_groups collection
// until StoreGroupAndNewestCache is called.
« no previous file with comments | « webkit/appcache/appcache_url_request_job_unittest.cc ('k') | webkit/appcache/mock_appcache_storage_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698