diff options
author | dcheng <dcheng@chromium.org> | 2014-08-26 12:28:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-26 19:29:44 +0000 |
commit | 3c331bb5271f1beeac03bd6910002235801d3ff2 (patch) | |
tree | 24534610b35b65ed2f27488c668004728fab6ec7 /components/translate | |
parent | 86b7dd0b60b8742029aa0196892cc0cc97c622eb (diff) | |
download | chromium_src-3c331bb5271f1beeac03bd6910002235801d3ff2.zip chromium_src-3c331bb5271f1beeac03bd6910002235801d3ff2.tar.gz chromium_src-3c331bb5271f1beeac03bd6910002235801d3ff2.tar.bz2 |
Remove implicit conversions from scoped_refptr to T* in components/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.
BUG=110610
Review URL: https://codereview.chromium.org/500383003
Cr-Commit-Position: refs/heads/master@{#291964}
Diffstat (limited to 'components/translate')
-rw-r--r-- | components/translate/core/browser/translate_download_manager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/translate/core/browser/translate_download_manager.h b/components/translate/core/browser/translate_download_manager.h index 728a58e..983fdc6 100644 --- a/components/translate/core/browser/translate_download_manager.h +++ b/components/translate/core/browser/translate_download_manager.h @@ -28,7 +28,9 @@ class TranslateDownloadManager { // The request context used to download the resources. // Should be set before this class can be used. - net::URLRequestContextGetter* request_context() { return request_context_; } + net::URLRequestContextGetter* request_context() { + return request_context_.get(); + } void set_request_context(net::URLRequestContextGetter* context) { request_context_ = context; } |