| Index: src/snapshot-common.cc
|
| diff --git a/src/snapshot-common.cc b/src/snapshot-common.cc
|
| index 25193b2ed0db845a6e041aa840473c94d5f791c2..a2d5213b353939b6299f8513e6755ad7e985aa1f 100644
|
| --- a/src/snapshot-common.cc
|
| +++ b/src/snapshot-common.cc
|
| @@ -26,7 +26,7 @@ void Snapshot::ReserveSpaceForLinkedInSnapshot(Deserializer* deserializer) {
|
| }
|
|
|
|
|
| -bool Snapshot::Initialize() {
|
| +bool Snapshot::Initialize(Isolate* isolate) {
|
| if (size_ > 0) {
|
| base::ElapsedTimer timer;
|
| if (FLAG_profile_deserialization) {
|
| @@ -35,7 +35,7 @@ bool Snapshot::Initialize() {
|
| SnapshotByteSource source(raw_data_, raw_size_);
|
| Deserializer deserializer(&source);
|
| ReserveSpaceForLinkedInSnapshot(&deserializer);
|
| - bool success = V8::Initialize(&deserializer);
|
| + bool success = isolate->Init(&deserializer);
|
| if (FLAG_profile_deserialization) {
|
| double ms = timer.Elapsed().InMillisecondsF();
|
| PrintF("[Snapshot loading and deserialization took %0.3f ms]\n", ms);
|
|
|