| Index: src/v8.h
|
| diff --git a/src/v8.h b/src/v8.h
|
| index 3035b9ad0738196be42f83a11093595df4f48ed1..f5b3b84735ca80c1ecfc5efb2796e93e67733a39 100644
|
| --- a/src/v8.h
|
| +++ b/src/v8.h
|
| @@ -26,6 +26,9 @@ class V8 : public AllStatic {
|
| static void InitializePlatform(v8::Platform* platform);
|
| static void ShutdownPlatform();
|
| static v8::Platform* GetCurrentPlatform();
|
| + // Replaces the current platform with the given platform.
|
| + // Should be used only for testing.
|
| + static void SetPlatformForTesting(v8::Platform* platform);
|
|
|
| static void SetNativesBlob(StartupData* natives_blob);
|
| static void SetSnapshotBlob(StartupData* snapshot_blob);
|
|
|