Fix iOS build.
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Nov 2014 19:46:53 +0000 (19:46 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Nov 2014 19:46:53 +0000 (19:46 +0000)
* Shared/ios/QuickLookDocumentData.cpp:
(WebKit::QuickLookDocumentData::encode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@176457 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/ios/QuickLookDocumentData.cpp

index 80159b1..2fe6054 100644 (file)
@@ -1,5 +1,12 @@
 2014-11-21  Antti Koivisto  <antti@apple.com>
 
+        Fix iOS build.
+
+        * Shared/ios/QuickLookDocumentData.cpp:
+        (WebKit::QuickLookDocumentData::encode):
+
+2014-11-21  Antti Koivisto  <antti@apple.com>
+
         Remove alignment code from IPC coders
         https://bugs.webkit.org/show_bug.cgi?id=138963
 
index b256c38..96da5c6 100644 (file)
@@ -59,7 +59,7 @@ void QuickLookDocumentData::encode(IPC::ArgumentEncoder& encoder) const
     encoder << size;
 
     for (const auto& data : m_data)
-        encoder.encodeFixedLengthData(CFDataGetBytePtr(data.get()), CFDataGetLength(data.get()), 1);
+        encoder.encodeFixedLengthData(CFDataGetBytePtr(data.get()), CFDataGetLength(data.get()));
 }
 
 bool QuickLookDocumentData::decode(IPC::ArgumentDecoder& decoder, QuickLookDocumentData& documentData)