Chromium Code Reviews| Index: src/v8.cc |
| diff --git a/src/v8.cc b/src/v8.cc |
| index d16dbee255397455a2f8a78cc01f65a1ee50658b..27657b6e2febda4a341982f444f96aec4a3aef69 100644 |
| --- a/src/v8.cc |
| +++ b/src/v8.cc |
| @@ -126,6 +126,9 @@ v8::Platform* V8::GetCurrentPlatform() { |
| } |
| +void V8::SetPlatformForTesting(v8::Platform* platform) { platform_ = platform; } |
| + |
| + |
| void V8::SetNativesBlob(StartupData* natives_blob) { |
| #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
| base::CallOnce(&init_natives_once, &SetNativesFromFile, natives_blob); |