зеркало из https://github.com/mozilla/gecko-dev.git
b=315457 fix bustage
This commit is contained in:
Родитель
90c237d8ea
Коммит
743f04d8d8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче