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

Unified Diff: mojo/services/network/url_loader_impl.cc

Issue 380413003: Mojo: Use InterfaceFactory<Interface> for service registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix network_service_loader Created 6 years, 5 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: mojo/services/network/url_loader_impl.cc
diff --git a/mojo/services/network/url_loader_impl.cc b/mojo/services/network/url_loader_impl.cc
index 810a7be3ba16dc77843a7e202d598a80b7955eb3..724068c8404056528fd9bdd087eaf379234140c4 100644
--- a/mojo/services/network/url_loader_impl.cc
+++ b/mojo/services/network/url_loader_impl.cc
@@ -118,10 +118,6 @@ URLLoaderImpl::URLLoaderImpl(NetworkContext* context)
URLLoaderImpl::~URLLoaderImpl() {
}
-void URLLoaderImpl::OnConnectionError() {
- delete this;
-}
-
void URLLoaderImpl::Start(URLRequestPtr request,
const Callback<void(URLResponsePtr)>& callback) {
if (url_request_) {
« no previous file with comments | « mojo/services/network/url_loader_impl.h ('k') | mojo/services/public/cpp/view_manager/lib/view_manager_client_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698