Index: src/snapshot-external.cc |
diff --git a/src/snapshot-external.cc b/src/snapshot-external.cc |
index a9a5df1cd7c2a04f2c40a760c79ffb89a2b3742a..ae7bc40ae64380de16002e32da36643694b0ae0b 100644 |
--- a/src/snapshot-external.cc |
+++ b/src/snapshot-external.cc |
@@ -35,9 +35,9 @@ void SetSnapshotFromFile(StartupData* snapshot_blob) { |
} |
-const v8::StartupData Snapshot::SnapshotBlob() { |
+const v8::StartupData* Snapshot::DefaultSnapshotBlob() { |
base::LockGuard<base::Mutex> lock_guard( |
external_startup_data_mutex.Pointer()); |
- return external_startup_blob; |
+ return &external_startup_blob; |
} |
} } // namespace v8::internal |