summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/test_support.cpp23
-rw-r--r--testing/test_support.h11
2 files changed, 0 insertions, 34 deletions
diff --git a/testing/test_support.cpp b/testing/test_support.cpp
index af7f3d02ad..2b6f436c32 100644
--- a/testing/test_support.cpp
+++ b/testing/test_support.cpp
@@ -194,34 +194,11 @@ std::unique_ptr<v8::Platform> InitializeV8ForPDFiumWithStartupData(
}
return platform;
}
-
-bool InitializeV8ForPDFium(const std::string& exe_path,
- const std::string& bin_dir,
- v8::StartupData* natives_blob,
- v8::StartupData* snapshot_blob,
- v8::Platform** platform) {
- std::unique_ptr<v8::Platform> new_platform =
- InitializeV8ForPDFiumWithStartupData(exe_path, bin_dir, natives_blob,
- snapshot_blob);
- if (!new_platform)
- return false;
- *platform = new_platform.release();
- return true;
-}
#else // V8_USE_EXTERNAL_STARTUP_DATA
std::unique_ptr<v8::Platform> InitializeV8ForPDFium(
const std::string& exe_path) {
return InitializeV8Common(exe_path);
}
-
-bool InitializeV8ForPDFium(const std::string& exe_path,
- v8::Platform** platform) {
- std::unique_ptr<v8::Platform> new_platform = InitializeV8ForPDFium(exe_path);
- if (!new_platform)
- return false;
- *platform = new_platform.release();
- return true;
-}
#endif // V8_USE_EXTERNAL_STARTUP_DATA
#endif // PDF_ENABLE_V8
diff --git a/testing/test_support.h b/testing/test_support.h
index 00d72b35d1..f26e161544 100644
--- a/testing/test_support.h
+++ b/testing/test_support.h
@@ -99,20 +99,9 @@ std::unique_ptr<v8::Platform> InitializeV8ForPDFiumWithStartupData(
const std::string& bin_dir,
v8::StartupData* natives_blob,
v8::StartupData* snapshot_blob);
-
-// TODO(thestig): Remove this in the near future once it has no callers.
-bool InitializeV8ForPDFium(const std::string& exe_path,
- const std::string& bin_dir,
- v8::StartupData* natives_blob,
- v8::StartupData* snapshot_blob,
- v8::Platform** platform);
#else // V8_USE_EXTERNAL_STARTUP_DATA
std::unique_ptr<v8::Platform> InitializeV8ForPDFium(
const std::string& exe_path);
-
-// TODO(thestig): Remove this in the near future once it has no callers.
-bool InitializeV8ForPDFium(const std::string& exe_path,
- v8::Platform** platform);
#endif // V8_USE_EXTERNAL_STARTUP_DATA
#endif // PDF_ENABLE_V8