diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp
index 929457046cee1c1d7ba6c253b8e279b00e445c35..c125f84c58e1daa6f4c6cb007751945acbfc8e10 100644
--- a/indra/newview/llchathistory.cpp
+++ b/indra/newview/llchathistory.cpp
@@ -116,7 +116,7 @@ class LLChatHistoryHeader: public LLPanel
 	//*TODO remake it using mouse enter/leave and static LLHandle<LLIconCtrl> to add/remove as a child
 	BOOL handleToolTip(S32 x, S32 y, MASK mask)
 	{
-		LLViewerTextEditor* name = getChild<LLViewerTextEditor>("user_name");
+		LLTextBase* name = getChild<LLTextBase>("user_name");
 		if (name && name->parentPointInView(x, y) && mAvatarID.notNull() && SYSTEM_FROM != mFrom)
 		{