summaryrefslogtreecommitdiffstats
path: root/base/files
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-08-26 17:23:23 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-27 00:24:38 +0000
commitd81e7d7e92f955cc80cc627682db05a24f994bf1 (patch)
tree67aa205f2343a765f723b9ad032546252a9b66b7 /base/files
parenta3a8c58ea4af6cca7d2a0d697c196c24fb02bbbc (diff)
downloadchromium_src-d81e7d7e92f955cc80cc627682db05a24f994bf1.zip
chromium_src-d81e7d7e92f955cc80cc627682db05a24f994bf1.tar.gz
chromium_src-d81e7d7e92f955cc80cc627682db05a24f994bf1.tar.bz2
Remove implicit conversions from scoped_refptr to T* in base/
This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/510563002 Cr-Commit-Position: refs/heads/master@{#292050}
Diffstat (limited to 'base/files')
-rw-r--r--base/files/important_file_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/files/important_file_writer.cc b/base/files/important_file_writer.cc
index 6e3be2a..4a03780 100644
--- a/base/files/important_file_writer.cc
+++ b/base/files/important_file_writer.cc
@@ -169,7 +169,7 @@ bool ImportantFileWriter::PostWriteTask(const std::string& data) {
// using PostTask() in the typical scenario below.
if (!on_next_successful_write_.is_null()) {
return base::PostTaskAndReplyWithResult(
- task_runner_,
+ task_runner_.get(),
FROM_HERE,
MakeCriticalClosure(
Bind(&ImportantFileWriter::WriteFileAtomically, path_, data)),