summaryrefslogtreecommitdiffstats
path: root/content/public/test/test_file_error_injector.cc
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 18:57:56 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 18:57:56 +0000
commit9d34eb23c68f8131c9fef78276ef63db03e84616 (patch)
tree966d9368c604c64c63d72a1f37b9abf9aecbfbcc /content/public/test/test_file_error_injector.cc
parent8c548de9006110ba1d7e47d767743011363a825a (diff)
downloadchromium_src-9d34eb23c68f8131c9fef78276ef63db03e84616.zip
chromium_src-9d34eb23c68f8131c9fef78276ef63db03e84616.tar.gz
chromium_src-9d34eb23c68f8131c9fef78276ef63db03e84616.tar.bz2
Preparing content/ for the removal of scoped_refptr::release()
BUG=None Review URL: https://chromiumcodereview.appspot.com/11438040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171548 0039d316-1c4b-4281-b951-d872f2087c98
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(