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

Unified Diff: trunk/src/mojo/services/view_manager/view_manager_connection.cc

Issue 286653003: Revert 270122 "Synchronizes View instances across clients." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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: trunk/src/mojo/services/view_manager/view_manager_connection.cc
===================================================================
--- trunk/src/mojo/services/view_manager/view_manager_connection.cc (revision 270124)
+++ trunk/src/mojo/services/view_manager/view_manager_connection.cc (working copy)
@@ -136,14 +136,6 @@
client_change_id);
}
-void ViewManagerConnection::NotifyViewDeleted(
- const ViewId& view,
- TransportChangeId server_change_id,
- TransportChangeId client_change_id) {
- client()->OnViewDeleted(ViewIdToTransportId(view), server_change_id,
- client_change_id);
-}
-
bool ViewManagerConnection::DeleteNodeImpl(ViewManagerConnection* source,
const NodeId& node_id,
TransportChangeId change_id) {
@@ -181,7 +173,6 @@
view->node()->SetView(NULL);
view_map_.erase(view_id.view_id);
delete view;
- context()->NotifyViewDeleted(view_id);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698