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

Unified Diff: mojo/services/view_manager/root_node_manager.h

Issue 253883005: Makes change_id unsigned (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to trunk Created 6 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
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/root_node_manager.h
diff --git a/mojo/services/view_manager/root_node_manager.h b/mojo/services/view_manager/root_node_manager.h
index 98f347e0c9ed3746263aed3594f92c9c7e94da1d..f9d1d97b049c5441671674ba883ea11bc57a0111 100644
--- a/mojo/services/view_manager/root_node_manager.h
+++ b/mojo/services/view_manager/root_node_manager.h
@@ -32,7 +32,7 @@ class MOJO_VIEW_MANAGER_EXPORT RootNodeManager
public:
ScopedChange(ViewManagerConnection* connection,
RootNodeManager* root,
- int32_t change_id);
+ ChangeId change_id);
~ScopedChange();
private:
@@ -71,13 +71,13 @@ class MOJO_VIEW_MANAGER_EXPORT RootNodeManager
private:
// Tracks a change.
struct Change {
- Change(int32_t connection_id, int32_t change_id)
+ Change(int32_t connection_id, ChangeId change_id)
: connection_id(connection_id),
change_id(change_id) {
}
int32_t connection_id;
- int32_t change_id;
+ ChangeId change_id;
};
typedef std::map<uint16_t, ViewManagerConnection*> ConnectionMap;
@@ -88,7 +88,7 @@ class MOJO_VIEW_MANAGER_EXPORT RootNodeManager
// Changes should never nest, meaning each PrepareForChange() must be
// balanced with a call to FinishChange() with no PrepareForChange()
// in between.
- void PrepareForChange(ViewManagerConnection* connection, int32_t change_id);
+ void PrepareForChange(ViewManagerConnection* connection, ChangeId change_id);
// Balances a call to PrepareForChange().
void FinishChange();
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/root_node_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698