mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix StringPrintf format error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@614 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -37,8 +37,8 @@ class CefDevToolsBindingHandler
|
|||||||
if (random_seed_.empty()) {
|
if (random_seed_.empty()) {
|
||||||
// Generate a random seed that is used to make identifier guessing more
|
// Generate a random seed that is used to make identifier guessing more
|
||||||
// difficult.
|
// difficult.
|
||||||
random_seed_ = base::StringPrintf("%lf|%lu",
|
random_seed_ = base::StringPrintf("%lf|%u",
|
||||||
base::Time::Now().ToDoubleT(), base::RandUint64());
|
base::Time::Now().ToDoubleT(), base::RandInt(0, INT_MAX));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a key that combines RVH IDs and the random seed.
|
// Create a key that combines RVH IDs and the random seed.
|
||||||
|
Reference in New Issue
Block a user