Use NewClassTree instead of ClassTree for source positions (#12911).

Change-Id: Ifd8726c4b084d19ab2231d791d22837f4cad3317