summaryrefslogtreecommitdiff
path: root/Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-22 15:40:17 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-22 15:40:17 +0200
commit43a42f108af6bcbd91f2672731c3047c26213af1 (patch)
tree7fa092e5f5d873c72f2486a70e26be26f7a38bec /Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp
parentd9cf437c840c6eb7417bdd97e6c40979255d3158 (diff)
downloadqtwebkit-43a42f108af6bcbd91f2672731c3047c26213af1.tar.gz
Imported WebKit commit 302e7806bff028bd1167a1ec7c86a1ee00ecfb49 (http://svn.webkit.org/repository/webkit/trunk@132067)
New snapshot that fixes build without QtWidgets
Diffstat (limited to 'Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp')
-rw-r--r--Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp b/Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp
index 4b83fbd53..08cd4e2b3 100644
--- a/Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp
+++ b/Source/WebKit2/Shared/win/PlatformCertificateInfo.cpp
@@ -110,12 +110,12 @@ void PlatformCertificateInfo::encode(CoreIPC::ArgumentEncoder* encoder) const
{
// Special case no certificates
if (m_certificateChain.isEmpty()) {
- encoder->encodeUInt64(std::numeric_limits<uint64_t>::max());
+ encoder->encode(std::numeric_limits<uint64_t>::max());
return;
}
uint64_t length = m_certificateChain.size();
- encoder->encodeUInt64(length);
+ encoder->encode(length);
for (size_t i = 0; i < length; ++i)
encoder->encodeVariableLengthByteArray(CoreIPC::DataReference(static_cast<uint8_t*>(m_certificateChain[i]->pbCertEncoded), m_certificateChain[i]->cbCertEncoded));