Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(970)

Unified Diff: components/translate/core/browser/translate_download_manager.h

Issue 500383003: Remove implicit conversions from scoped_refptr to T* in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/translate/core/browser/translate_download_manager.h
diff --git a/components/translate/core/browser/translate_download_manager.h b/components/translate/core/browser/translate_download_manager.h
index 728a58e2fa116fa9cd07c07f9b5dc8a3a435ef2b..983fdc6e94225469e373983626ae9e40b53b9d72 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;
}

Powered by Google App Engine
This is Rietveld 408576698