summaryrefslogtreecommitdiff
path: root/Source/WebKit2/Shared/IntentData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/IntentData.cpp')
-rw-r--r--Source/WebKit2/Shared/IntentData.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebKit2/Shared/IntentData.cpp b/Source/WebKit2/Shared/IntentData.cpp
index ae0afbd8c..388a3a567 100644
--- a/Source/WebKit2/Shared/IntentData.cpp
+++ b/Source/WebKit2/Shared/IntentData.cpp
@@ -40,6 +40,7 @@ void IntentData::encode(CoreIPC::ArgumentEncoder* encoder) const
{
encoder->encode(action);
encoder->encode(type);
+ encoder->encode(service);
encoder->encode(CoreIPC::DataReference(data));
encoder->encode(extras);
encoder->encode(suggestions);
@@ -51,6 +52,8 @@ bool IntentData::decode(CoreIPC::ArgumentDecoder* decoder, IntentData& intentDat
return false;
if (!decoder->decode(intentData.type))
return false;
+ if (!decoder->decode(intentData.service))
+ return false;
CoreIPC::DataReference data;
if (!decoder->decode(data))
return false;