| Index: chrome/browser/extensions/extension_service.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_service.cc (revision 185166)
|
| +++ chrome/browser/extensions/extension_service.cc (working copy)
|
| @@ -2102,6 +2102,10 @@
|
| // All apps that are displayed in the launcher are ordered by their ordinals
|
| // so we must ensure they have valid ordinals.
|
| if (extension->RequiresSortOrdinal()) {
|
| + if (!extension->ShouldDisplayInNewTabPage()) {
|
| + extension_prefs_->extension_sorting()->MarkExtensionAsHidden(
|
| + extension->id());
|
| + }
|
| extension_prefs_->extension_sorting()->EnsureValidOrdinals(
|
| extension->id(), syncer::StringOrdinal());
|
| }
|
|
|