Merge remote-tracking branch 'upstream/master' into sdk-mamoth-breakage
This commit is contained in:
commit
4dfffb8c34
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
@ -519,6 +519,8 @@ const ContainerService = {
|
|||
// Let's forget all the previous closed tabs.
|
||||
this._forgetIdentity();
|
||||
|
||||
this._resetContainerToCentralIcons();
|
||||
|
||||
const preInstalledIdentities = data.preInstalledIdentities;
|
||||
ContextualIdentityProxy.getIdentities().forEach(identity => {
|
||||
if (!preInstalledIdentities.includes(identity.userContextId)) {
|
||||
|
@ -813,8 +815,6 @@ ContainerWindow.prototype = {
|
|||
this._shutdownFileMenu();
|
||||
this._shutdownAllTabsMenu();
|
||||
this._shutdownContextMenu();
|
||||
|
||||
this._shutdownContainers();
|
||||
},
|
||||
|
||||
_shutDownPlusButtonMenuElement(buttonElement) {
|
||||
|
@ -877,7 +877,7 @@ ContainerWindow.prototype = {
|
|||
return true;
|
||||
},
|
||||
|
||||
_shutdownContainers() {
|
||||
_resetContainerToCentralIcons() {
|
||||
ContextualIdentityProxy.getIdentities().forEach(identity => {
|
||||
if (IDENTITY_ICONS_STANDARD.indexOf(identity.icon) !== -1 &&
|
||||
IDENTITY_COLORS_STANDARD.indexOf(identity.color) !== -1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue