Index: src/v8.cc |
diff --git a/src/v8.cc b/src/v8.cc |
index c7effb6552752a927217da4c83d994fcb9283b80..d7cc79701943680c87a40a14a05fd9a6b64194f8 100644 |
--- a/src/v8.cc |
+++ b/src/v8.cc |
@@ -119,6 +119,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); |