This commit is contained in:
masayuki%d-toybox.com 2005-11-18 06:30:23 +00:00
Родитель 90c237d8ea
Коммит 743f04d8d8
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -7261,8 +7261,9 @@ nsWindow::ResolveIMECaretPos(nsWindow* aClient,
nsRect& aResult)
{
// RootView coordinates -> Screen coordinates
nsCOMPtr<nsWindow> topWindow = getter_AddRefs(GetTopLevelWindow());
nsWindow* topWindow = GetTopLevelWindow();
topWindow->WidgetToScreen(aEventResult, aResult);
NS_RELEASE(topWindow);
// if aClient is nsnull, returns screen coordinates
if (!aClient)
return;