Index: base/files/important_file_writer.h |
diff --git a/base/files/important_file_writer.h b/base/files/important_file_writer.h |
index 6e8646af3dab1de60cdaba572ce059987932835c..40f9bb56c20dbed1afeca88b69a8b1695ba7eaa8 100644 |
--- a/base/files/important_file_writer.h |
+++ b/base/files/important_file_writer.h |
@@ -105,7 +105,7 @@ class BASE_EXPORT ImportantFileWriter : public NonThreadSafe { |
private: |
// Helper method for WriteNow(). |
- bool PostWriteTask(const Callback<bool()>& task); |
+ bool PostWriteTask(OnceCallback<bool()> task); |
// If |result| is true and |on_next_successful_write_| is set, invokes |
// |on_successful_write_| and then resets it; no-ops otherwise. |