Chromium Code Reviews| Index: runtime/vm/dart_api_impl.cc |
| =================================================================== |
| --- runtime/vm/dart_api_impl.cc (revision 15418) |
| +++ runtime/vm/dart_api_impl.cc (working copy) |
| @@ -1351,7 +1351,7 @@ |
| Isolate* isolate = Isolate::Current(); |
| DARTSCOPE(isolate); |
| const String& str_obj = String::Handle(isolate, String::New(str)); |
| - return Api::NewHandle(isolate, Integer::New(str_obj)); |
| + return Api::NewHandle(isolate, Integer::NewCanonical(str_obj)); |
|
srdjan
2012/11/27 23:32:07
ditto
siva
2012/11/28 00:22:56
Done.
|
| } |