diff options
author | Moonchild <moonchild@palemoon.org> | 2021-09-30 02:11:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 14:38:31 +0200 |
commit | a7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a (patch) | |
tree | 521fbd6d7c6b866fbc8d58aa538af14312a57667 /ipc | |
parent | cdff23ad0b3e0be2121c77a5b2415b15c7c4f0b2 (diff) | |
download | uxp-a7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a.tar.gz |
No issue - Clean up some obsolete/archaic code paths.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mscom/ProxyStream.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ipc/mscom/ProxyStream.cpp b/ipc/mscom/ProxyStream.cpp index 5b72a2e7a7..8004906e8f 100644 --- a/ipc/mscom/ProxyStream.cpp +++ b/ipc/mscom/ProxyStream.cpp @@ -73,13 +73,7 @@ ProxyStream::ProxyStream(const BYTE* aInitBuf, const int aInitBufSize) already_AddRefed<IStream> ProxyStream::InitStream(const BYTE* aInitBuf, const UINT aInitBufSize) { - // Need to link to this as ordinal 12 for Windows XP - static DynamicallyLinkedFunctionPtr<decltype(&::SHCreateMemStream)> - pSHCreateMemStream(L"shlwapi.dll", reinterpret_cast<const char*>(12)); - if (!pSHCreateMemStream) { - return nullptr; - } - return already_AddRefed<IStream>(pSHCreateMemStream(aInitBuf, aInitBufSize)); + return already_AddRefed<IStream>(::SHCreateMemStream(aInitBuf, aInitBufSize)); } ProxyStream::ProxyStream(ProxyStream&& aOther) |