mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 750901 - Revert change to nsClipboard and remove ancient crufty commented out code. r=bbondy
This commit is contained in:
parent
b159aab211
commit
145ffadfee
@ -308,7 +308,7 @@ nsresult nsClipboard::GetNativeDataOffClipboard(nsIWidget * aWidget, UINT /*aInd
|
||||
HGLOBAL hglb;
|
||||
nsresult result = NS_ERROR_FAILURE;
|
||||
|
||||
HWND nativeWin = (HWND)aWidget->GetNativeData(NS_NATIVE_WINDOW);
|
||||
HWND nativeWin = nullptr;
|
||||
if (::OpenClipboard(nativeWin)) {
|
||||
hglb = ::GetClipboardData(aFormat);
|
||||
result = GetGlobalData(hglb, aData, aLen);
|
||||
|
Loading…
Reference in New Issue
Block a user