| Index: gin/public/isolate_holder.h
|
| diff --git a/gin/public/isolate_holder.h b/gin/public/isolate_holder.h
|
| index 7968b1df0ba3edd8a9978105b927a494ec4cb5ef..ba75cd8f11654f653806776be1c750acd78e75a5 100644
|
| --- a/gin/public/isolate_holder.h
|
| +++ b/gin/public/isolate_holder.h
|
| @@ -31,9 +31,10 @@ class GIN_EXPORT IsolateHolder {
|
| ~IsolateHolder();
|
|
|
| // Should be invoked once before creating IsolateHolder instances to
|
| - // initialize V8 and Gin. In case V8_USE_EXTERNAL_STARTUP_DATA is defined,
|
| - // V8's initial snapshot should be loaded (by calling LoadV8Snapshot or
|
| - // LoadV8SnapshotFd) before calling Initialize.
|
| + // initialize V8 and Gin. In case V8_USE_EXTERNAL_STARTUP_DATA is
|
| + // defined, V8's initial snapshot should be loaded (by calling
|
| + // V8Initializer::LoadV8SnapshotFromFD or
|
| + // V8Initializer::LoadV8Snapshot) before calling this method.
|
| static void Initialize(ScriptMode mode,
|
| v8::ArrayBuffer::Allocator* allocator);
|
|
|
| @@ -51,24 +52,6 @@ class GIN_EXPORT IsolateHolder {
|
| // thread.
|
| void RemoveRunMicrotasksObserver();
|
|
|
| -#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
|
| - static const int kV8SnapshotBasePathKey;
|
| - static const char kNativesFileName[];
|
| - static const char kSnapshotFileName[];
|
| -
|
| - static bool LoadV8SnapshotFd(int natives_fd,
|
| - int64 natives_offset,
|
| - int64 natives_size,
|
| - int snapshot_fd,
|
| - int64 snapshot_offset,
|
| - int64 snapshot_size);
|
| - static bool LoadV8Snapshot();
|
| -#endif // V8_USE_EXTERNAL_STARTUP_DATA
|
| - static void GetV8ExternalSnapshotData(const char** natives_data_out,
|
| - int* natives_size_out,
|
| - const char** snapshot_data_out,
|
| - int* snapshot_size_out);
|
| -
|
| private:
|
| v8::Isolate* isolate_;
|
| scoped_ptr<PerIsolateData> isolate_data_;
|
|
|