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

Unified Diff: components/view_manager/public/cpp/lib/view_manager_init.cc

Issue 1254383016: ApplicationConnection lifetime management changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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/view_manager/public/cpp/lib/view_manager_init.cc
diff --git a/components/view_manager/public/cpp/lib/view_manager_init.cc b/components/view_manager/public/cpp/lib/view_manager_init.cc
index 0a540e9dd0b6fe679ecc29e6977c5f9a360b6533..21fd3410d0361224aaaf667774815fcf9ea13070 100644
--- a/components/view_manager/public/cpp/lib/view_manager_init.cc
+++ b/components/view_manager/public/cpp/lib/view_manager_init.cc
@@ -52,9 +52,7 @@ ViewManagerInit::ViewManagerInit(ApplicationImpl* app,
}
}
-ViewManagerInit::~ViewManagerInit() {
- connection_->CloseConnection();
-}
+ViewManagerInit::~ViewManagerInit() {}
void ViewManagerInit::OnCreate(InterfaceRequest<ViewManagerClient> request) {
// TODO(sky): straighten out lifetime.
« no previous file with comments | « components/html_viewer/html_document_application_delegate.cc ('k') | components/view_manager/public/cpp/view_manager_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698