Index: src/apinatives.js |
=================================================================== |
--- src/apinatives.js (revision 1056) |
+++ src/apinatives.js (working copy) |
@@ -65,7 +65,7 @@ |
var serialNumber = %GetTemplateField(data, kApiSerialNumberOffset); |
var isFunctionCached = |
(serialNumber in cache) && |
- (cache[serialNumber] != -1); |
+ (cache[serialNumber] != kUninitialized); |
Mads Ager (chromium)
2009/01/13 07:35:37
This would fit on the line above now that the loca
olehougaard
2009/01/13 07:37:23
Fixed
|
if (!isFunctionCached) { |
try { |
cache[serialNumber] = null; |
@@ -82,7 +82,7 @@ |
} |
ConfigureTemplateInstance(fun, data); |
} catch (e) { |
- cache[serialNumber] = -1; |
+ cache[serialNumber] = kUninitialized; |
throw e; |
} |
} |