summaryrefslogtreecommitdiffstats
path: root/content/public/test/test_file_error_injector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/test/test_file_error_injector.cc')
-rw-r--r--content/public/test/test_file_error_injector.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/public/test/test_file_error_injector.cc b/content/public/test/test_file_error_injector.cc
index 0414eeb..71e6a76 100644
--- a/content/public/test/test_file_error_injector.cc
+++ b/content/public/test/test_file_error_injector.cc
@@ -313,7 +313,7 @@ TestFileErrorInjector::TestFileErrorInjector(
// This code is only used for browser_tests, so a
// DownloadManager is always a DownloadManagerImpl.
download_manager_(
- static_cast<DownloadManagerImpl*>(download_manager.release())) {
+ static_cast<DownloadManagerImpl*>(download_manager.get())) {
// Record the value of the pointer, for later validation.
created_factory_ =
new DownloadFileWithErrorsFactory(