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

Unified Diff: mojo/services/view_manager/view_manager_service_impl.cc

Issue 374723002: Mojo: Trivial style fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/view_manager/view_manager_service_impl.cc
diff --git a/mojo/services/view_manager/view_manager_service_impl.cc b/mojo/services/view_manager/view_manager_service_impl.cc
index 1ba9b51d08ea1c3dd19ad12a1db13b49c984128c..7f0a225a713f71a7fd1b1950f672375376130824 100644
--- a/mojo/services/view_manager/view_manager_service_impl.cc
+++ b/mojo/services/view_manager/view_manager_service_impl.cc
@@ -5,7 +5,6 @@
#include "mojo/services/view_manager/view_manager_service_impl.h"
#include "base/bind.h"
-#include "base/stl_util.h"
#include "mojo/services/public/cpp/geometry/geometry_type_converters.h"
#include "mojo/services/public/cpp/input_events/input_events_type_converters.h"
#include "mojo/services/view_manager/node.h"
@@ -797,11 +796,12 @@ void ViewManagerServiceImpl::DispatchOnViewInputEvent(Id transport_view_id,
const ViewId view_id(ViewIdFromTransportId(transport_view_id));
ViewManagerServiceImpl* connection = root_node_manager_->GetConnection(
view_id.connection_id);
- if (connection)
+ if (connection) {
connection->client()->OnViewInputEvent(
transport_view_id,
event.Pass(),
base::Bind(&base::DoNothing));
+ }
}
void ViewManagerServiceImpl::OnNodeHierarchyChanged(const Node* node,
« no previous file with comments | « mojo/services/native_viewport/native_viewport_service.cc ('k') | mojo/services/view_manager/view_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698