Fix StringPrintf format error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@614 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
4158d13cce
commit
0ceab51f94
|
@ -37,8 +37,8 @@ class CefDevToolsBindingHandler
|
|||
if (random_seed_.empty()) {
|
||||
// Generate a random seed that is used to make identifier guessing more
|
||||
// difficult.
|
||||
random_seed_ = base::StringPrintf("%lf|%lu",
|
||||
base::Time::Now().ToDoubleT(), base::RandUint64());
|
||||
random_seed_ = base::StringPrintf("%lf|%u",
|
||||
base::Time::Now().ToDoubleT(), base::RandInt(0, INT_MAX));
|
||||
}
|
||||
|
||||
// Create a key that combines RVH IDs and the random seed.
|
||||
|
|
Loading…
Reference in New Issue