diff options
author | amistry <amistry@chromium.org> | 2015-11-11 17:14:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-12 01:14:38 +0000 |
commit | 82d9d5df08de4ced6df66b066d799a1f8ff764b7 (patch) | |
tree | e99a3ffcbe90a44b05be0c0c0340a4f36117664b /mojo/edk/system/dispatcher.h | |
parent | 28787424acfc81f458824812a35c67d461b84035 (diff) | |
download | chromium_src-82d9d5df08de4ced6df66b066d799a1f8ff764b7.zip chromium_src-82d9d5df08de4ced6df66b066d799a1f8ff764b7.tar.gz chromium_src-82d9d5df08de4ced6df66b066d799a1f8ff764b7.tar.bz2 |
Replace the context type in awakables with uintptr_t.
The type was uint32_t, but the Awakable interface itself takes a
uintptr_t. This change propagates that and allows the use of uintptr_t
as context everywhere.
BUG=Motivated by WaitSet.
Review URL: https://codereview.chromium.org/1433913002
Cr-Commit-Position: refs/heads/master@{#359200}
Diffstat (limited to 'mojo/edk/system/dispatcher.h')
-rw-r--r-- | mojo/edk/system/dispatcher.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/edk/system/dispatcher.h b/mojo/edk/system/dispatcher.h index 80c1418..df1e975 100644 --- a/mojo/edk/system/dispatcher.h +++ b/mojo/edk/system/dispatcher.h @@ -139,7 +139,7 @@ class MOJO_SYSTEM_IMPL_EXPORT Dispatcher // that |signals| will ever be satisfied. MojoResult AddAwakable(Awakable* awakable, MojoHandleSignals signals, - uint32_t context, + uintptr_t context, HandleSignalsState* signals_state); // Removes an awakable from this dispatcher. (It is valid to call this // multiple times for the same |awakable| on the same object, so long as @@ -261,7 +261,7 @@ class MOJO_SYSTEM_IMPL_EXPORT Dispatcher virtual HandleSignalsState GetHandleSignalsStateImplNoLock() const; virtual MojoResult AddAwakableImplNoLock(Awakable* awakable, MojoHandleSignals signals, - uint32_t context, + uintptr_t context, HandleSignalsState* signals_state); virtual void RemoveAwakableImplNoLock(Awakable* awakable, HandleSignalsState* signals_state); |