mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: stop using std::vector<const uint8_t> in ProcessingSingleton (#41832)
This commit is contained in:
committed by
GitHub
parent
2a6ad42113
commit
6aa9a003c8
@@ -407,10 +407,10 @@ bool NotificationCallbackWrapper(
|
||||
const base::RepeatingCallback<
|
||||
void(base::CommandLine command_line,
|
||||
const base::FilePath& current_directory,
|
||||
const std::vector<const uint8_t> additional_data)>& callback,
|
||||
const std::vector<uint8_t> additional_data)>& callback,
|
||||
base::CommandLine cmd,
|
||||
const base::FilePath& cwd,
|
||||
const std::vector<const uint8_t> additional_data) {
|
||||
const std::vector<uint8_t> additional_data) {
|
||||
// Make sure the callback is called after app gets ready.
|
||||
if (Browser::Get()->is_ready()) {
|
||||
callback.Run(std::move(cmd), cwd, std::move(additional_data));
|
||||
@@ -987,7 +987,7 @@ std::string App::GetLocaleCountryCode() {
|
||||
|
||||
void App::OnSecondInstance(base::CommandLine cmd,
|
||||
const base::FilePath& cwd,
|
||||
const std::vector<const uint8_t> additional_data) {
|
||||
const std::vector<uint8_t> additional_data) {
|
||||
v8::Isolate* isolate = JavascriptEnvironment::GetIsolate();
|
||||
v8::HandleScope handle_scope(isolate);
|
||||
v8::Local<v8::Value> data_value =
|
||||
|
||||
Reference in New Issue
Block a user