Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: runtime/lib/string.cc

Issue 11028145: Changed StackZone and ApiZone to be containers for Zone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added assertion for ApiZone linking. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/lib/string.cc
diff --git a/runtime/lib/string.cc b/runtime/lib/string.cc
index 6b78f895862c090dea7088fad9c764a0146091c7..41c3181ba654441feb3e7255655ebd422b1195fd 100644
--- a/runtime/lib/string.cc
+++ b/runtime/lib/string.cc
@@ -14,7 +14,7 @@ namespace dart {
DEFINE_NATIVE_ENTRY(StringBase_createFromCodePoints, 1) {
GET_NATIVE_ARGUMENT(Array, a, arguments->At(0));
// TODO(srdjan): Check that parameterized type is an int.
- StackZone* zone = isolate->current_zone();
+ Zone* zone = isolate->current_zone();
intptr_t len = a.Length();
// Unbox the array and determine the maximum element width.

Powered by Google App Engine
This is Rietveld 408576698