summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/win/WebError.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/win/WebError.cpp')
-rw-r--r--Source/WebKit/win/WebError.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/WebKit/win/WebError.cpp b/Source/WebKit/win/WebError.cpp
index c9f1dff..16006ff 100644
--- a/Source/WebKit/win/WebError.cpp
+++ b/Source/WebKit/win/WebError.cpp
@@ -28,9 +28,7 @@
#include "WebError.h"
#include "WebKit.h"
-#pragma warning(push, 0)
#include <WebCore/BString.h>
-#pragma warning(pop)
#if USE(CFNETWORK)
#include <WebKitSystemInterface/WebKitSystemInterface.h>
@@ -227,7 +225,7 @@ HRESULT STDMETHODCALLTYPE WebError::sslPeerCertificate(
if (!m_cfErrorUserInfoDict)
return E_FAIL;
- void* data = wkGetSSLPeerCertificateData(m_cfErrorUserInfoDict.get());
+ void* data = wkGetSSLPeerCertificateDataBytePtr(m_cfErrorUserInfoDict.get());
if (!data)
return E_FAIL;
*result = (OLE_HANDLE)(ULONG64)data;