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

Unified Diff: sync/internal_api/http_bridge.cc

Issue 503903002: Remove implicit conversions from scoped_refptr to T* in sync/ (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: sync/internal_api/http_bridge.cc
diff --git a/sync/internal_api/http_bridge.cc b/sync/internal_api/http_bridge.cc
index 6c1c085b7535f4907549cf8bce9d5f2fabcef0e2..96edb626728f259062d3fb4d4d8d6a4b57c63c61 100644
--- a/sync/internal_api/http_bridge.cc
+++ b/sync/internal_api/http_bridge.cc
@@ -82,9 +82,8 @@ void HttpBridgeFactory::Init(const std::string& user_agent) {
return;
}
- request_context_getter_ =
- new HttpBridge::RequestContextGetter(
- baseline_request_context_getter_, user_agent);
+ request_context_getter_ = new HttpBridge::RequestContextGetter(
+ baseline_request_context_getter_.get(), user_agent);
}
HttpPostProviderInterface* HttpBridgeFactory::Create() {
« no previous file with comments | « sync/internal_api/attachments/attachment_uploader_impl.cc ('k') | sync/internal_api/http_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698