mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-16 12:10:41 +01:00
Merge revision 1624 changes:
- Fix type conversion error. git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1625 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
29f5798752
commit
7e6ad6f823
@ -49,7 +49,7 @@ class IdGenerator {
|
||||
IdGenerator() : next_id_(kReservedId) {}
|
||||
|
||||
T GetNextId() {
|
||||
int id = ++next_id_;
|
||||
T id = ++next_id_;
|
||||
if (id == kReservedId) // In case the integer value wraps.
|
||||
id = ++next_id_;
|
||||
return id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user