summaryrefslogtreecommitdiff
path: root/testing/test_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_support.h')
-rw-r--r--testing/test_support.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/test_support.h b/testing/test_support.h
index ec4b4aeacb..1b7692c3ed 100644
--- a/testing/test_support.h
+++ b/testing/test_support.h
@@ -91,14 +91,14 @@ class Platform;
namespace v8 {
class StartupData;
}
-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> InitializeV8ForPDFium(
+ const std::string& exe_path,
+ const std::string& bin_dir,
+ v8::StartupData* natives_blob,
+ v8::StartupData* snapshot_blob);
#else // V8_USE_EXTERNAL_STARTUP_DATA
-bool InitializeV8ForPDFium(const std::string& exe_path,
- v8::Platform** platform);
+std::unique_ptr<v8::Platform> InitializeV8ForPDFium(
+ const std::string& exe_path);
#endif // V8_USE_EXTERNAL_STARTUP_DATA
#endif // PDF_ENABLE_V8