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

Unified Diff: runtime/vm/object.cc

Issue 25418002: Respond to Ivan's code review comments from previous TBR cl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: PTAL Created 7 years, 3 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
« no previous file with comments | « no previous file | runtime/vm/object_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 44971de96ed0905b36d92ac3dd80511eac45172a..b5de62e94dc806861862d012ab3f4040502bb2f9 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -13690,7 +13690,7 @@ RawOneByteString* OneByteString::EscapeSpecialCharacters(const String& str) {
}
return OneByteString::raw(dststr);
}
- return OneByteString::New(static_cast<intptr_t>(0), Heap::kNew);
+ return OneByteString::raw(Symbols::Empty());
}
RawOneByteString* ExternalOneByteString::EscapeSpecialCharacters(
@@ -13719,7 +13719,7 @@ RawOneByteString* ExternalOneByteString::EscapeSpecialCharacters(
}
return OneByteString::raw(dststr);
}
- return OneByteString::New(static_cast<intptr_t>(0), Heap::kNew);
+ return OneByteString::raw(Symbols::Empty());
}
« no previous file with comments | « no previous file | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698