Title: [120948] trunk/Source/WebKit2
Revision
120948
Author
[email protected]
Date
2012-06-21 11:14:44 -0700 (Thu, 21 Jun 2012)

Log Message

[WK2] Properly encode/decode service in IntentData
https://bugs.webkit.org/show_bug.cgi?id=89460

Patch by Christophe Dumez <[email protected]> on 2012-06-21
Reviewed by Gustavo Noronha Silva.

Update IntentData::encode() and IntentData::decode()
so that the "service" member is properly encoded
and decoded.

* Shared/IntentData.cpp:
(WebKit::IntentData::encode):
(WebKit::IntentData::decode):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (120947 => 120948)


--- trunk/Source/WebKit2/ChangeLog	2012-06-21 18:09:36 UTC (rev 120947)
+++ trunk/Source/WebKit2/ChangeLog	2012-06-21 18:14:44 UTC (rev 120948)
@@ -1,3 +1,18 @@
+2012-06-21  Christophe Dumez  <[email protected]>
+
+        [WK2] Properly encode/decode service in IntentData
+        https://bugs.webkit.org/show_bug.cgi?id=89460
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Update IntentData::encode() and IntentData::decode()
+        so that the "service" member is properly encoded
+        and decoded.
+
+        * Shared/IntentData.cpp:
+        (WebKit::IntentData::encode):
+        (WebKit::IntentData::decode):
+
 2012-06-21  Ryuan Choi  <[email protected]>
 
         [EFL][WK2] Make WebKit2/Efl headers and resources installable.

Modified: trunk/Source/WebKit2/Shared/IntentData.cpp (120947 => 120948)


--- trunk/Source/WebKit2/Shared/IntentData.cpp	2012-06-21 18:09:36 UTC (rev 120947)
+++ trunk/Source/WebKit2/Shared/IntentData.cpp	2012-06-21 18:14:44 UTC (rev 120948)
@@ -40,6 +40,7 @@
 {
     encoder->encode(action);
     encoder->encode(type);
+    encoder->encode(service);
     encoder->encode(CoreIPC::DataReference(data));
     encoder->encode(extras);
     encoder->encode(suggestions);
@@ -51,6 +52,8 @@
         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;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to