Commit dec6d649 authored by Kenton Lam's avatar Kenton Lam Committed by Chromium LUCI CQ

Disable chrome://emoji-picker when flag is disabled.

Bug: 1166404
Change-Id: Iad9b19c47606be4be4d67771859e565653c3f0fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627534Reviewed-by: default avatarKeith Lee <keithlee@chromium.org>
Reviewed-by: default avatarcalamity <calamity@chromium.org>
Commit-Queue: Kenton Lam <kentonlam@google.com>
Cr-Commit-Position: refs/heads/master@{#844424}
parent ca97695d
...@@ -786,7 +786,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui, ...@@ -786,7 +786,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
return &NewWebUI<chromeos::ArcPowerControlUI>; return &NewWebUI<chromeos::ArcPowerControlUI>;
} }
} }
if (url.host_piece() == chrome::kChromeUIEmojiPickerHost) { if (url.host_piece() == chrome::kChromeUIEmojiPickerHost &&
base::FeatureList::IsEnabled(chromeos::features::kImeSystemEmojiPicker)) {
return &NewWebUI<chromeos::EmojiPicker>; return &NewWebUI<chromeos::EmojiPicker>;
} }
......
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