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

Unified Diff: webkit/blob/deletable_file_reference.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
« no previous file with comments | « webkit/blob/blob_url_request_job_unittest.cc ('k') | webkit/fileapi/file_system_path_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/deletable_file_reference.cc
diff --git a/webkit/blob/deletable_file_reference.cc b/webkit/blob/deletable_file_reference.cc
index 9f4994364c6b92a2edc814635a0f1df7877cc3fb..87ef4cc4565d305498e158a7c5c4e95885e40742 100644
--- a/webkit/blob/deletable_file_reference.cc
+++ b/webkit/blob/deletable_file_reference.cc
@@ -42,8 +42,8 @@ scoped_refptr<DeletableFileReference> DeletableFileReference::GetOrCreate(
return scoped_refptr<DeletableFileReference>(result.first->second);
// Wasn't in the map, create a new reference and store the pointer.
- scoped_refptr<DeletableFileReference> reference =
- new DeletableFileReference(path, file_thread);
+ scoped_refptr<DeletableFileReference> reference(
+ new DeletableFileReference(path, file_thread));
result.first->second = reference.get();
return reference;
}
« no previous file with comments | « webkit/blob/blob_url_request_job_unittest.cc ('k') | webkit/fileapi/file_system_path_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698