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

Unified Diff: runtime/vm/debuginfo.h

Issue 16378004: Revert change 23636 as it is causing issues on dartium. Will resubmit after investigating the darti… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 | « runtime/vm/dart_api_message.cc ('k') | runtime/vm/megamorphic_cache_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debuginfo.h
===================================================================
--- runtime/vm/debuginfo.h (revision 23640)
+++ runtime/vm/debuginfo.h (working copy)
@@ -50,7 +50,8 @@
void Resize(int new_size) {
if (new_size > capacity_) {
int new_capacity = Utils::RoundUpToPowerOfTwo(new_size);
- uint8_t* new_data = Utils::Realloc(data_, capacity_, new_capacity);
+ uint8_t* new_data =
+ reinterpret_cast<uint8_t*>(realloc(data_, new_capacity));
ASSERT(new_data != NULL);
data_ = new_data;
capacity_ = new_capacity;
« no previous file with comments | « runtime/vm/dart_api_message.cc ('k') | runtime/vm/megamorphic_cache_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698