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

Unified Diff: content/browser/web_contents/navigation_controller_impl.cc

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: six! Created 8 years, 8 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: content/browser/web_contents/navigation_controller_impl.cc
diff --git a/content/browser/web_contents/navigation_controller_impl.cc b/content/browser/web_contents/navigation_controller_impl.cc
index a89d49499b4b46a56d88995a6745fed9e28af431..4126e1f187f263f9ae3c83a2b840222cce7337e9 100644
--- a/content/browser/web_contents/navigation_controller_impl.cc
+++ b/content/browser/web_contents/navigation_controller_impl.cc
@@ -194,11 +194,6 @@ NavigationControllerImpl::NavigationControllerImpl(
NavigationControllerImpl::~NavigationControllerImpl() {
DiscardNonCommittedEntriesInternal();
-
- content::NotificationService::current()->Notify(
- content::NOTIFICATION_TAB_CLOSED,
- content::Source<NavigationController>(this),
- content::NotificationService::NoDetails());
}
WebContents* NavigationControllerImpl::GetWebContents() const {

Powered by Google App Engine
This is Rietveld 408576698