Index: test/cctest/cctest.cc |
diff --git a/test/cctest/cctest.cc b/test/cctest/cctest.cc |
index 2c1d438fe559470bc15704baa2a2d35e04594528..72be29c38338c62327b378c4e90611157aa1888c 100644 |
--- a/test/cctest/cctest.cc |
+++ b/test/cctest/cctest.cc |
@@ -34,10 +34,6 @@ |
#include "test/cctest/profiler-extension.h" |
#include "test/cctest/trace-extension.h" |
-#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
-#include "src/startup-data-util.h" |
-#endif // V8_USE_EXTERNAL_STARTUP_DATA |
- |
#if V8_OS_WIN |
#include <windows.h> // NOLINT |
#if V8_CC_MSVC |
@@ -182,9 +178,7 @@ int main(int argc, char* argv[]) { |
v8::V8::InitializePlatform(platform); |
v8::internal::FlagList::SetFlagsFromCommandLine(&argc, argv, true); |
v8::V8::Initialize(); |
-#ifdef V8_USE_EXTERNAL_STARTUP_DATA |
- v8::StartupDataHandler startup_data(argv[0], NULL, NULL); |
-#endif |
+ v8::V8::InitializeExternalStartupData(argv[0]); |
CcTestArrayBufferAllocator array_buffer_allocator; |
CcTest::set_array_buffer_allocator(&array_buffer_allocator); |