зеркало из https://github.com/mozilla/gecko-dev.git
Fixed bustage due to the change in arguments to CreatePopup(...)
This commit is contained in:
Родитель
4db91e5644
Коммит
179dcfae30
|
@ -431,10 +431,11 @@ CWebShellContainer::CreatePopup(nsIDOMElement* aElement, nsIDOMElement* aPopupCo
|
|||
PRInt32 aXPos, PRInt32 aYPos,
|
||||
const nsString& aPopupType, const nsString& anAnchorAlignment,
|
||||
const nsString& aPopupAlignment,
|
||||
nsIDOMWindow* aWindow)
|
||||
nsIDOMWindow* aWindow, nsIDOMWindow** outPopup)
|
||||
{
|
||||
NG_TRACE_METHOD(CWebShellContainer::CreatePopup);
|
||||
HMENU hMenu = ::CreatePopupMenu();
|
||||
*outPopup = NULL;
|
||||
InsertMenu(hMenu, 0, MF_BYPOSITION, 1, _T("TODO"));
|
||||
TrackPopupMenu(hMenu, TPM_LEFTALIGN, aXPos, aYPos, NULL, NULL, NULL);
|
||||
return NS_OK;
|
||||
|
|
|
@ -81,7 +81,7 @@ public:
|
|||
PRInt32 aXPos, PRInt32 aYPos,
|
||||
const nsString& aPopupType, const nsString& anAnchorAlignment,
|
||||
const nsString& aPopupAlignment,
|
||||
nsIDOMWindow* aWindow);
|
||||
nsIDOMWindow* aWindow, nsIDOMWindow** outPopup);
|
||||
|
||||
// nsIStreamObserver
|
||||
NS_IMETHOD OnStartRequest(nsIURI* aURL, const char *aContentType);
|
||||
|
|
Загрузка…
Ссылка в новой задаче