| Index: chrome/test/chromedriver/js/call_function.js
|
| diff --git a/chrome/test/chromedriver/js/call_function.js b/chrome/test/chromedriver/js/call_function.js
|
| index 8706cd77602a308f808b73c466e7ede1c4fc77b4..09cb49810d954c14f848104daa25d3958518fef2 100644
|
| --- a/chrome/test/chromedriver/js/call_function.js
|
| +++ b/chrome/test/chromedriver/js/call_function.js
|
| @@ -50,8 +50,10 @@ Cache.prototype = {
|
| if (item == this.cache_[i])
|
| return i;
|
| }
|
| - this.cache_[this.nextId_] = item;
|
| - return this.nextId_++;
|
| + var id = this.nextId_.toString();
|
| + this.cache_[id] = item;
|
| + this.nextId_++;
|
| + return id;
|
| },
|
|
|
| /**
|
|
|