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

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

Issue 296133012: Some security checks around destruction/setting bounds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « mojo/services/view_manager/node.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/view_manager_connection.cc
diff --git a/mojo/services/view_manager/view_manager_connection.cc b/mojo/services/view_manager/view_manager_connection.cc
index 1d730768b5cdc560cf8a21b1fa6b6dbfd3fffbd6..12dfe9309a1eecbb65444f5b7bc330410cdfa549 100644
--- a/mojo/services/view_manager/view_manager_connection.cc
+++ b/mojo/services/view_manager/view_manager_connection.cc
@@ -436,6 +436,7 @@ Array<INode> ViewManagerConnection::NodesToINodes(
node_builder.set_node_id(NodeIdToTransportId(node->id()));
node_builder.set_view_id(ViewIdToTransportId(
node->view() ? node->view()->id() : ViewId()));
+ node_builder.set_bounds(node->bounds());
array_builder[i] = node_builder.Finish();
}
return array_builder.Finish();
« no previous file with comments | « mojo/services/view_manager/node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698