Commit 6a68f626 authored by Kai Ninomiya's avatar Kai Ninomiya Committed by Commit Bot

Show chrome://flags/#enable-unsafe-webgpu only on Dev/Canary

Bug: 852089
Change-Id: Ic327c81818932cd8647c9d66d6c3718aad87eb7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2147858Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758602}
parent e8e69e97
...@@ -5316,6 +5316,14 @@ bool SkipConditionalFeatureEntry(const FeatureEntry& entry) { ...@@ -5316,6 +5316,14 @@ bool SkipConditionalFeatureEntry(const FeatureEntry& entry) {
return true; return true;
} }
// enable-unsafe-webgpu is only available on Dev/Canary channels.
if (!strcmp("enable-unsafe-webgpu", entry.internal_name) &&
channel != version_info::Channel::DEV &&
channel != version_info::Channel::CANARY &&
channel != version_info::Channel::UNKNOWN) {
return true;
}
#if defined(OS_WIN) #if defined(OS_WIN)
// HDR mode works, but displays everything horribly wrong prior to windows 10. // HDR mode works, but displays everything horribly wrong prior to windows 10.
if (!strcmp("enable-hdr", entry.internal_name) && if (!strcmp("enable-hdr", entry.internal_name) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment