IDEA-125649
(cherry picked from commit 707e584) [r=Maxim.Mossienko]