chore: fix more chromium-style errors in windows code (#13487)
Finding more chromium-style linting errors as I build more of the windows code :)
This commit is contained in:
parent
003a92e099
commit
d6af3bfcd2
6 changed files with 23 additions and 16 deletions
|
@ -20,7 +20,8 @@ URLRequestAsyncAsarJob::URLRequestAsyncAsarJob(
|
|||
void URLRequestAsyncAsarJob::StartAsync(std::unique_ptr<base::Value> options) {
|
||||
std::string file_path;
|
||||
if (options->is_dict()) {
|
||||
auto path_value = options->FindKeyOfType("path", base::Value::Type::STRING);
|
||||
auto* path_value =
|
||||
options->FindKeyOfType("path", base::Value::Type::STRING);
|
||||
if (path_value)
|
||||
file_path = path_value->GetString();
|
||||
} else if (options->is_string()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue