Skip to content

Commit db47fbe

Browse files
Gauthier AmbardChromium LUCI CQ
Gauthier Ambard
authored and
Chromium LUCI CQ
committed
[iOS] Fix Incognito Search action
The action was wrongly created, leading to opening the search in non-incognito. Fixed: 1402647 Change-Id: I275f8ddcfb01e9d2da95aa12a0bac79d8df25b88 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4120256 Commit-Queue: Ewann Pellé <ewannpv@chromium.org> Auto-Submit: Gauthier Ambard <gambard@chromium.org> Reviewed-by: Ewann Pellé <ewannpv@chromium.org> Cr-Commit-Position: refs/heads/main@{#1085949}
1 parent 5430745 commit db47fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/chrome/browser/ui/menu/browser_action_factory.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ - (UIAction*)actionToStartNewIncognitoSearch {
304304
type:MenuActionType::StartNewIcognitoSearch
305305
block:^{
306306
OpenNewTabCommand* command =
307-
[OpenNewTabCommand commandWithIncognito:NO];
307+
[OpenNewTabCommand commandWithIncognito:YES];
308308
command.shouldFocusOmnibox = YES;
309309
[handler openURLInNewTab:command];
310310
}];

0 commit comments

Comments
 (0)