Fix StringPrintf format error.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@614 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-05-02 16:28:22 +00:00
parent 4158d13cce
commit 0ceab51f94
1 changed files with 2 additions and 2 deletions

View File

@ -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.