Index: chromecast/shell/browser/cast_content_browser_client.cc |
diff --git a/chromecast/shell/browser/cast_content_browser_client.cc b/chromecast/shell/browser/cast_content_browser_client.cc |
index fc1dac87b767548f0bfa6cee7b23abc6b76bca51..ccf8e217bffd88392e1bdf7e0dd633f8bcb0c2e5 100644 |
--- a/chromecast/shell/browser/cast_content_browser_client.cc |
+++ b/chromecast/shell/browser/cast_content_browser_client.cc |
@@ -28,9 +28,9 @@ CastContentBrowserClient::~CastContentBrowserClient() { |
content::BrowserMainParts* CastContentBrowserClient::CreateBrowserMainParts( |
const content::MainFunctionParams& parameters) { |
- shell_browser_main_parts_.reset( |
- new CastBrowserMainParts(parameters, url_request_context_factory_.get())); |
- return shell_browser_main_parts_.get(); |
+ shell_browser_main_parts_ = |
+ new CastBrowserMainParts(parameters, url_request_context_factory_.get()); |
+ return shell_browser_main_parts_; |
} |
void CastContentBrowserClient::RenderProcessWillLaunch( |