Commit f1d46e1a authored by Stepan Khapugin's avatar Stepan Khapugin Committed by Commit Bot

[multiball] Remove main controller's FRE UI blocker.

Remove this UI blocker because there's now one owned by the scene
that's showing the FRE, so this one is unnecessary.

Bug: none
Change-Id: I742f0e432fdec3e33fd4434bcbba7c3440eba07d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289858Reviewed-by: default avatarJérôme Lebel <jlebel@chromium.org>
Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790386}
parent b2d55a54
......@@ -262,9 +262,6 @@ void MainControllerAuthenticationServiceDelegate::ClearBrowsingData(
// Hander for the startup tasks, deferred or not.
StartupTasks* _startupTasks;
// UI blocker used during first run in multiwindow.
std::unique_ptr<ScopedUIBlocker> _firstRunUIBlocker;
}
// The ChromeBrowserState associated with the main (non-OTR) browsing mode.
......@@ -607,10 +604,6 @@ void MainControllerAuthenticationServiceDelegate::ClearBrowsingData(
object:nil];
[self markEulaAsAccepted];
if (IsMultiwindowSupported()) {
_firstRunUIBlocker.reset();
}
}
- (void)handleFirstRunUIDidFinish {
......@@ -1085,11 +1078,6 @@ void MainControllerAuthenticationServiceDelegate::ClearBrowsingData(
selector:@selector(handleFirstRunUIDidFinish)
name:kChromeFirstRunUIDidFinishNotification
object:nil];
if (IsMultiwindowSupported()) {
// Update the AppState.
_firstRunUIBlocker = std::make_unique<ScopedUIBlocker>(presentingScene);
}
}
- (void)crashIfRequested {
......
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