Pass the actual class instead of the class name to new_domain_or_namespace method.
Pass the actual class instead of the class name to new_domain_or_namespace method.

Avoids calling constantize needlessly.
(transferred from ManageIQ/manageiq@86191a18e375cbfbc42c43763e4262d16450256d)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic