summaryrefslogtreecommitdiff
path: root/testing/embedder_test_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/embedder_test_main.cpp')
-rw-r--r--testing/embedder_test_main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/embedder_test_main.cpp b/testing/embedder_test_main.cpp
index 03c192b08a..0c3ceb60ce 100644
--- a/testing/embedder_test_main.cpp
+++ b/testing/embedder_test_main.cpp
@@ -34,13 +34,13 @@ class Environment : public testing::Environment {
#ifdef PDF_ENABLE_V8
#ifdef V8_USE_EXTERNAL_STARTUP_DATA
if (g_v8_natives && g_v8_snapshot) {
- platform_ =
- InitializeV8ForPDFium(g_exe_path, std::string(), nullptr, nullptr);
+ platform_ = InitializeV8ForPDFiumWithStartupData(
+ g_exe_path, std::string(), nullptr, nullptr);
} else {
g_v8_natives = new v8::StartupData;
g_v8_snapshot = new v8::StartupData;
- platform_ = InitializeV8ForPDFium(g_exe_path, std::string(), g_v8_natives,
- g_v8_snapshot);
+ platform_ = InitializeV8ForPDFiumWithStartupData(
+ g_exe_path, std::string(), g_v8_natives, g_v8_snapshot);
}
#else
platform_ = InitializeV8ForPDFium(g_exe_path);