Skip to content

Commit

Permalink
fix chrome://flags crash
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo committed Jan 4, 2024
1 parent 331a371 commit 672a506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,7 @@ diff --git a/ui/webui/resources/js/load_time_data.ts b/ui/webui/resources/js/loa
set data(value: LoadTimeDataRaw) {
assert(!this.data_, 'Re-setting data.');
this.data_ = value;
+ if (this.getValue("chromeAndroid") != "")
+ if (this.data_["chromeAndroid"] !== undefined && this.getValue("chromeAndroid") != "")
+ this.is_android_ = true;
}

Expand Down

0 comments on commit 672a506

Please sign in to comment.