diff options
author | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 00:37:47 +0000 |
---|---|---|
committer | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 00:37:47 +0000 |
commit | 40cb13053e07b54008bcc5e7d007be72bebdef48 (patch) | |
tree | c79931ae2fe2d5bc78f3f125f4eaad66db474180 | |
parent | e9b2152fce27653b042ae15f1a5df4cb7e2c49eb (diff) | |
download | chromium_src-40cb13053e07b54008bcc5e7d007be72bebdef48.zip chromium_src-40cb13053e07b54008bcc5e7d007be72bebdef48.tar.gz chromium_src-40cb13053e07b54008bcc5e7d007be72bebdef48.tar.bz2 |
Revert "Correct bit-shift in IPC hash generation."
This reverts commit r213882.
This change caused too much shifting. Reverting back to the original as it is,
in fact, correct.
BUG=
TBR=cpu@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23081002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217408 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ipc/ipc_message.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_message.cc b/ipc/ipc_message.cc index 2fb9097..cf3a65e 100644 --- a/ipc/ipc_message.cc +++ b/ipc/ipc_message.cc @@ -27,7 +27,7 @@ inline uint32 GetRefNumUpper24() { // Process ID. With the current trace event buffer cap, the 14-bit count did // not appear to wrap during a trace. Note that it is not a big deal if // collisions occur, as this is only used for debugging and trace analysis. - return ((pid << 22) | (count & 0x3fff)) << 8; + return ((pid << 14) | (count & 0x3fff)) << 8; } } // namespace |