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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 9368049: Add external byte array API and finalize external strings and byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 years, 10 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/raw_object.h ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object_snapshot.cc
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc
index 7b515c5742bb93746fc763cf0a723c13f9979ee9..437f4f8c6ff2c9466d479d6d5c3d1d8febf6dec5 100644
--- a/runtime/vm/raw_object_snapshot.cc
+++ b/runtime/vm/raw_object_snapshot.cc
@@ -1479,7 +1479,7 @@ void RawExternalOneByteString::WriteTo(SnapshotWriter* writer,
ptr()->tags_,
ptr()->length_,
ptr()->hash_,
- ptr()->external_data_->data_);
+ ptr()->external_data_->data());
}
@@ -1494,7 +1494,7 @@ void RawExternalTwoByteString::WriteTo(SnapshotWriter* writer,
ptr()->tags_,
ptr()->length_,
ptr()->hash_,
- ptr()->external_data_->data_);
+ ptr()->external_data_->data());
}
@@ -1509,7 +1509,7 @@ void RawExternalFourByteString::WriteTo(SnapshotWriter* writer,
ptr()->tags_,
ptr()->length_,
ptr()->hash_,
- ptr()->external_data_->data_);
+ ptr()->external_data_->data());
}
@@ -1738,7 +1738,7 @@ void RawExternalByteArray::WriteTo(SnapshotWriter* writer,
ObjectStore::kInternalByteArrayClass,
ptr()->tags_,
ptr()->length_,
- ptr()->data_);
+ ptr()->external_data_->data());
}
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/scavenger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698