<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[176017] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/176017">176017</a></dd>
<dt>Author</dt> <dd>carlosgc@webkit.org</dd>
<dt>Date</dt> <dd>2014-11-12 04:26:26 -0800 (Wed, 12 Nov 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>[GTK] Fix how SerializedScriptValue is exposed to GObject DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=138409

Reviewed by Philippe Normand.

It's currently exposed as a WebKitDOMSerializedScriptValue class
that doesn't really exist. It should be handled as a string, that
is used to create a SerializedScriptValue when coming from the
API, and converted to a string again when returned to the API.

* bindings/scripts/CodeGeneratorGObject.pm:
(GetGlibTypeName): Return gchar* as glib type of SerializedScriptValue.
(IsGDOMClassType): Don't consider SerializedScriptValue as a GDOM class.
(GenerateFunction): Handle SerializedScriptValue parameters and
return values specially.
* bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
(webkit_dom_test_callback_callback_with_serialized_script_value_param):
* bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_serialized_value):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
(webkit_dom_test_serialized_script_value_interface_class_init):
(webkit_dom_test_serialized_script_value_interface_get_value):
(webkit_dom_test_serialized_script_value_interface_set_value):
(webkit_dom_test_serialized_script_value_interface_get_readonly_value):
(webkit_dom_test_serialized_script_value_interface_get_cached_value):
(webkit_dom_test_serialized_script_value_interface_set_cached_value):
(webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value):
* bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
* bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp:
(webkit_dom_test_typedefs_class_init):
(webkit_dom_test_typedefs_get_immutable_serialized_script_value):
(webkit_dom_test_typedefs_set_immutable_serialized_script_value):
* bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorGObjectpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestCallbackcpp">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestCallbackh">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjh">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestSerializedScriptValueInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestSerializedScriptValueInterfaceh">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestTypedefscpp">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestTypedefsh">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/ChangeLog        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -1,5 +1,43 @@
</span><span class="cx"> 2014-11-12  Carlos Garcia Campos  &lt;cgarcia@igalia.com&gt;
</span><span class="cx"> 
</span><ins>+        [GTK] Fix how SerializedScriptValue is exposed to GObject DOM bindings
+        https://bugs.webkit.org/show_bug.cgi?id=138409
+
+        Reviewed by Philippe Normand.
+
+        It's currently exposed as a WebKitDOMSerializedScriptValue class
+        that doesn't really exist. It should be handled as a string, that
+        is used to create a SerializedScriptValue when coming from the
+        API, and converted to a string again when returned to the API.
+
+        * bindings/scripts/CodeGeneratorGObject.pm:
+        (GetGlibTypeName): Return gchar* as glib type of SerializedScriptValue.
+        (IsGDOMClassType): Don't consider SerializedScriptValue as a GDOM class.
+        (GenerateFunction): Handle SerializedScriptValue parameters and
+        return values specially.
+        * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
+        (webkit_dom_test_callback_callback_with_serialized_script_value_param):
+        * bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
+        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
+        (webkit_dom_test_obj_serialized_value):
+        * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
+        * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp:
+        (webkit_dom_test_serialized_script_value_interface_class_init):
+        (webkit_dom_test_serialized_script_value_interface_get_value):
+        (webkit_dom_test_serialized_script_value_interface_set_value):
+        (webkit_dom_test_serialized_script_value_interface_get_readonly_value):
+        (webkit_dom_test_serialized_script_value_interface_get_cached_value):
+        (webkit_dom_test_serialized_script_value_interface_set_cached_value):
+        (webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value):
+        * bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h:
+        * bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp:
+        (webkit_dom_test_typedefs_class_init):
+        (webkit_dom_test_typedefs_get_immutable_serialized_script_value):
+        (webkit_dom_test_typedefs_set_immutable_serialized_script_value):
+        * bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h:
+
+2014-11-12  Carlos Garcia Campos  &lt;cgarcia@igalia.com&gt;
+
</ins><span class="cx">         [GTK] Move RedirectedXCompositeWindow from platform to WebKit2 layer
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=138093
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorGObjectpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -380,6 +380,7 @@
</span><span class="cx">     my %types = (&quot;DOMString&quot;, &quot;gchar*&quot;,
</span><span class="cx">                  &quot;DOMTimeStamp&quot;, &quot;guint32&quot;,
</span><span class="cx">                  &quot;CompareHow&quot;, &quot;gushort&quot;,
</span><ins>+                 &quot;SerializedScriptValue&quot;, &quot;gchar*&quot;,
</ins><span class="cx">                  &quot;float&quot;, &quot;gfloat&quot;,
</span><span class="cx">                  &quot;unrestricted float&quot;, &quot;gfloat&quot;,
</span><span class="cx">                  &quot;double&quot;, &quot;gdouble&quot;,
</span><span class="lines">@@ -406,7 +407,7 @@
</span><span class="cx"> sub IsGDOMClassType {
</span><span class="cx">     my $type = shift;
</span><span class="cx"> 
</span><del>-    return 0 if $codeGenerator-&gt;IsNonPointerType($type) || $codeGenerator-&gt;IsStringType($type);
</del><ins>+    return 0 if $codeGenerator-&gt;IsNonPointerType($type) || $codeGenerator-&gt;IsStringType($type) || $type eq &quot;SerializedScriptValue&quot;;
</ins><span class="cx">     return 1;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -989,6 +990,10 @@
</span><span class="cx">         if ($paramIDLType eq &quot;NodeFilter&quot; || $paramIDLType eq &quot;XPathNSResolver&quot;) {
</span><span class="cx">             $paramName = &quot;WTF::getPtr(&quot; . $paramName . &quot;)&quot;;
</span><span class="cx">         }
</span><ins>+        if ($paramIDLType eq &quot;SerializedScriptValue&quot;) {
+            $implIncludes{&quot;SerializedScriptValue.h&quot;} = 1;
+            $paramName = &quot;WebCore::SerializedScriptValue::create(WTF::String::fromUTF8(&quot; . $paramName . &quot;))&quot;;
+        }
</ins><span class="cx">         push(@callImplParams, $paramName);
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -1121,6 +1126,11 @@
</span><span class="cx">         } else {
</span><span class="cx">             $assign = &quot;${returnType} result = &quot;;
</span><span class="cx">         }
</span><ins>+
+        if ($functionSigType eq &quot;SerializedScriptValue&quot;) {
+            $assignPre = &quot;convertToUTF8String(&quot;;
+            $assignPost = &quot;-&gt;toString())&quot;;
+        }
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     # FIXME: Should we return a default value when isNull == true?
</span><span class="lines">@@ -1194,7 +1204,7 @@
</span><span class="cx">             } else {
</span><span class="cx">                 $functionName = &quot;item-&gt;${functionName}&quot;;
</span><span class="cx">             }
</span><del>-            $contentHead = &quot;${assign}${assignPre}${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;${assignPost});\n&quot;;
</del><ins>+            $contentHead = &quot;${assign}${assignPre}${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;)${assignPost};\n&quot;;
</ins><span class="cx">         } elsif ($prefix eq &quot;set_&quot;) {
</span><span class="cx">             my ($functionName, @arguments) = $codeGenerator-&gt;SetterExpression(\%implIncludes, $interfaceName, $function);
</span><span class="cx">             push(@arguments, @callImplParams);
</span><span class="lines">@@ -1203,10 +1213,10 @@
</span><span class="cx">                 $implIncludes{&quot;${implementedBy}.h&quot;} = 1;
</span><span class="cx">                 unshift(@arguments, &quot;item&quot;);
</span><span class="cx">                 $functionName = &quot;WebCore::${implementedBy}::${functionName}&quot;;
</span><del>-                $contentHead = &quot;${assign}${assignPre}${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;${assignPost});\n&quot;;
</del><ins>+                $contentHead = &quot;${assign}${assignPre}${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;)${assignPost};\n&quot;;
</ins><span class="cx">             } else {
</span><span class="cx">                 $functionName = &quot;item-&gt;${functionName}&quot;;
</span><del>-                $contentHead = &quot;${assign}${assignPre}${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;${assignPost});\n&quot;;
</del><ins>+                $contentHead = &quot;${assign}${assignPre}${functionName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;)${assignPost};\n&quot;;
</ins><span class="cx">             }
</span><span class="cx">         } else {
</span><span class="cx">             my @arguments = @callImplParams;
</span><span class="lines">@@ -1214,9 +1224,9 @@
</span><span class="cx">                 my $implementedBy = $function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;ImplementedBy&quot;};
</span><span class="cx">                 $implIncludes{&quot;${implementedBy}.h&quot;} = 1;
</span><span class="cx">                 unshift(@arguments, &quot;item&quot;);
</span><del>-                $contentHead = &quot;${assign}${assignPre}WebCore::${implementedBy}::${functionImplementationName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;${assignPost});\n&quot;;
</del><ins>+                $contentHead = &quot;${assign}${assignPre}WebCore::${implementedBy}::${functionImplementationName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;)${assignPost};\n&quot;;
</ins><span class="cx">             } else {
</span><del>-                $contentHead = &quot;${assign}${assignPre}item-&gt;${functionImplementationName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;${assignPost});\n&quot;;
</del><ins>+                $contentHead = &quot;${assign}${assignPre}item-&gt;${functionImplementationName}(&quot; . join(&quot;, &quot;, @arguments) . &quot;)${assignPost};\n&quot;;
</ins><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx">         push(@cBody, &quot;    ${contentHead}&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestCallbackcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -27,10 +27,10 @@
</span><span class="cx"> #include &quot;ExceptionCode.h&quot;
</span><span class="cx"> #include &quot;ExceptionCodeDescription.h&quot;
</span><span class="cx"> #include &quot;JSMainThreadExecState.h&quot;
</span><ins>+#include &quot;SerializedScriptValue.h&quot;
</ins><span class="cx"> #include &quot;WebKitDOMDOMStringListPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMFloat32ArrayPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMPrivate.h&quot;
</span><del>-#include &quot;WebKitDOMSerializedScriptValuePrivate.h&quot;
</del><span class="cx"> #include &quot;WebKitDOMTestCallbackPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMTestNodePrivate.h&quot;
</span><span class="cx"> #include &quot;gobject/ConvertToUTF8String.h&quot;
</span><span class="lines">@@ -145,17 +145,16 @@
</span><span class="cx"> #endif /* ENABLE(SQL_DATABASE) */
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-gboolean webkit_dom_test_callback_callback_with_serialized_script_value_param(WebKitDOMTestCallback* self, WebKitDOMSerializedScriptValue* srzParam, const gchar* strArg)
</del><ins>+gboolean webkit_dom_test_callback_callback_with_serialized_script_value_param(WebKitDOMTestCallback* self, const gchar* srzParam, const gchar* strArg)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(SQL_DATABASE)
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_CALLBACK(self), FALSE);
</span><del>-    g_return_val_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(srzParam), FALSE);
</del><ins>+    g_return_val_if_fail(srzParam, FALSE);
</ins><span class="cx">     g_return_val_if_fail(strArg, FALSE);
</span><span class="cx">     WebCore::TestCallback* item = WebKit::core(self);
</span><del>-    WebCore::SerializedScriptValue* convertedSrzParam = WebKit::core(srzParam);
</del><span class="cx">     WTF::String convertedStrArg = WTF::String::fromUTF8(strArg);
</span><del>-    gboolean result = item-&gt;callbackWithSerializedScriptValueParam(convertedSrzParam, convertedStrArg);
</del><ins>+    gboolean result = item-&gt;callbackWithSerializedScriptValueParam(WebCore::SerializedScriptValue::create(WTF::String::fromUTF8(srzParam)), convertedStrArg);
</ins><span class="cx">     return result;
</span><span class="cx"> #else
</span><span class="cx">     UNUSED_PARAM(self);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestCallbackh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -73,7 +73,7 @@
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_callback_callback_with_serialized_script_value_param:
</span><span class="cx">  * @self: A #WebKitDOMTestCallback
</span><del>- * @srzParam: A #WebKitDOMSerializedScriptValue
</del><ins>+ * @srzParam: A #gchar
</ins><span class="cx">  * @strArg: A #gchar
</span><span class="cx">  *
</span><span class="cx">  * Returns: A #gboolean
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><span class="cx"> WEBKIT_API gboolean
</span><del>-webkit_dom_test_callback_callback_with_serialized_script_value_param(WebKitDOMTestCallback* self, WebKitDOMSerializedScriptValue* srzParam, const gchar* strArg);
</del><ins>+webkit_dom_test_callback_callback_with_serialized_script_value_param(WebKitDOMTestCallback* self, const gchar* srzParam, const gchar* strArg);
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_callback_callback_with_non_bool_return_type:
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -28,12 +28,12 @@
</span><span class="cx"> #include &quot;ExceptionCodeDescription.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;JSMainThreadExecState.h&quot;
</span><ins>+#include &quot;SerializedScriptValue.h&quot;
</ins><span class="cx"> #include &quot;WebKitDOMDictionaryPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMDocumentPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMNodePrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMSVGPointPrivate.h&quot;
</span><del>-#include &quot;WebKitDOMSerializedScriptValuePrivate.h&quot;
</del><span class="cx"> #include &quot;WebKitDOMTestEnumTypePrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMTestNodePrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMTestObjPrivate.h&quot;
</span><span class="lines">@@ -1140,14 +1140,13 @@
</span><span class="cx">     return WebKit::kit(gobjectResult.get());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serializedArg)
</del><ins>+void webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, const gchar* serializedArg)
</ins><span class="cx"> {
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
</span><del>-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(serializedArg));
</del><ins>+    g_return_if_fail(serializedArg);
</ins><span class="cx">     WebCore::TestObj* item = WebKit::core(self);
</span><del>-    WebCore::SerializedScriptValue* convertedSerializedArg = WebKit::core(serializedArg);
-    item-&gt;serializedValue(convertedSerializedArg);
</del><ins>+    item-&gt;serializedValue(WebCore::SerializedScriptValue::create(WTF::String::fromUTF8(serializedArg)));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void webkit_dom_test_obj_options_object(WebKitDOMTestObj* self, WebKitDOMDictionary* oo, WebKitDOMDictionary* ooo)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -262,12 +262,12 @@
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_obj_serialized_value:
</span><span class="cx">  * @self: A #WebKitDOMTestObj
</span><del>- * @serializedArg: A #WebKitDOMSerializedScriptValue
</del><ins>+ * @serializedArg: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><span class="cx"> WEBKIT_API void
</span><del>-webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serializedArg);
</del><ins>+webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, const gchar* serializedArg);
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_obj_options_object:
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestSerializedScriptValueInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.cpp        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -27,8 +27,8 @@
</span><span class="cx"> #include &quot;ExceptionCode.h&quot;
</span><span class="cx"> #include &quot;ExceptionCodeDescription.h&quot;
</span><span class="cx"> #include &quot;JSMainThreadExecState.h&quot;
</span><ins>+#include &quot;SerializedScriptValue.h&quot;
</ins><span class="cx"> #include &quot;WebKitDOMPrivate.h&quot;
</span><del>-#include &quot;WebKitDOMSerializedScriptValuePrivate.h&quot;
</del><span class="cx"> #include &quot;WebKitDOMTestSerializedScriptValueInterfacePrivate.h&quot;
</span><span class="cx"> #include &quot;gobject/ConvertToUTF8String.h&quot;
</span><span class="cx"> #include &lt;wtf/GetPtr.h&gt;
</span><span class="lines">@@ -140,7 +140,7 @@
</span><span class="cx">         g_param_spec_object(
</span><span class="cx">             &quot;value&quot;,
</span><span class="cx">             &quot;TestSerializedScriptValueInterface:value&quot;,
</span><del>-            &quot;read-only WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface:value&quot;,
</del><ins>+            &quot;read-only gchar* TestSerializedScriptValueInterface:value&quot;,
</ins><span class="cx">             WEBKIT_DOM_TYPE_SERIALIZED_SCRIPT_VALUE,
</span><span class="cx">             WEBKIT_PARAM_READABLE));
</span><span class="cx"> 
</span><span class="lines">@@ -150,7 +150,7 @@
</span><span class="cx">         g_param_spec_object(
</span><span class="cx">             &quot;readonly-value&quot;,
</span><span class="cx">             &quot;TestSerializedScriptValueInterface:readonly-value&quot;,
</span><del>-            &quot;read-only WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface:readonly-value&quot;,
</del><ins>+            &quot;read-only gchar* TestSerializedScriptValueInterface:readonly-value&quot;,
</ins><span class="cx">             WEBKIT_DOM_TYPE_SERIALIZED_SCRIPT_VALUE,
</span><span class="cx">             WEBKIT_PARAM_READABLE));
</span><span class="cx"> 
</span><span class="lines">@@ -160,7 +160,7 @@
</span><span class="cx">         g_param_spec_object(
</span><span class="cx">             &quot;cached-value&quot;,
</span><span class="cx">             &quot;TestSerializedScriptValueInterface:cached-value&quot;,
</span><del>-            &quot;read-only WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface:cached-value&quot;,
</del><ins>+            &quot;read-only gchar* TestSerializedScriptValueInterface:cached-value&quot;,
</ins><span class="cx">             WEBKIT_DOM_TYPE_SERIALIZED_SCRIPT_VALUE,
</span><span class="cx">             WEBKIT_PARAM_READABLE));
</span><span class="cx"> 
</span><span class="lines">@@ -170,7 +170,7 @@
</span><span class="cx">         g_param_spec_object(
</span><span class="cx">             &quot;cached-readonly-value&quot;,
</span><span class="cx">             &quot;TestSerializedScriptValueInterface:cached-readonly-value&quot;,
</span><del>-            &quot;read-only WebKitDOMSerializedScriptValue* TestSerializedScriptValueInterface:cached-readonly-value&quot;,
</del><ins>+            &quot;read-only gchar* TestSerializedScriptValueInterface:cached-readonly-value&quot;,
</ins><span class="cx">             WEBKIT_DOM_TYPE_SERIALIZED_SCRIPT_VALUE,
</span><span class="cx">             WEBKIT_PARAM_READABLE));
</span><span class="cx"> 
</span><span class="lines">@@ -182,14 +182,14 @@
</span><span class="cx">     new (priv) WebKitDOMTestSerializedScriptValueInterfacePrivate();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebKitDOMSerializedScriptValue* webkit_dom_test_serialized_script_value_interface_get_value(WebKitDOMTestSerializedScriptValueInterface* self)
</del><ins>+gchar* webkit_dom_test_serialized_script_value_interface_get_value(WebKitDOMTestSerializedScriptValueInterface* self)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
</span><span class="cx">     WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
</span><del>-    RefPtr&lt;WebCore::SerializedScriptValue&gt; gobjectResult = WTF::getPtr(item-&gt;value());
-    return WebKit::kit(gobjectResult.get());
</del><ins>+    gchar* result = convertToUTF8String(item-&gt;value()-&gt;toString());
+    return result;
</ins><span class="cx"> #else
</span><span class="cx">     UNUSED_PARAM(self);
</span><span class="cx">     WEBKIT_WARN_FEATURE_NOT_PRESENT(&quot;Condition1&quot;)
</span><span class="lines">@@ -198,15 +198,14 @@
</span><span class="cx"> #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void webkit_dom_test_serialized_script_value_interface_set_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value)
</del><ins>+void webkit_dom_test_serialized_script_value_interface_set_value(WebKitDOMTestSerializedScriptValueInterface* self, const gchar* value)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self));
</span><del>-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(value));
</del><ins>+    g_return_if_fail(value);
</ins><span class="cx">     WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
</span><del>-    WebCore::SerializedScriptValue* convertedValue = WebKit::core(value);
-    item-&gt;setValue(convertedValue);
</del><ins>+    item-&gt;setValue(WebCore::SerializedScriptValue::create(WTF::String::fromUTF8(value)));
</ins><span class="cx"> #else
</span><span class="cx">     UNUSED_PARAM(self);
</span><span class="cx">     UNUSED_PARAM(value);
</span><span class="lines">@@ -215,14 +214,14 @@
</span><span class="cx"> #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebKitDOMSerializedScriptValue* webkit_dom_test_serialized_script_value_interface_get_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self)
</del><ins>+gchar* webkit_dom_test_serialized_script_value_interface_get_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
</span><span class="cx">     WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
</span><del>-    RefPtr&lt;WebCore::SerializedScriptValue&gt; gobjectResult = WTF::getPtr(item-&gt;readonlyValue());
-    return WebKit::kit(gobjectResult.get());
</del><ins>+    gchar* result = convertToUTF8String(item-&gt;readonlyValue()-&gt;toString());
+    return result;
</ins><span class="cx"> #else
</span><span class="cx">     UNUSED_PARAM(self);
</span><span class="cx">     WEBKIT_WARN_FEATURE_NOT_PRESENT(&quot;Condition1&quot;)
</span><span class="lines">@@ -231,14 +230,14 @@
</span><span class="cx"> #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebKitDOMSerializedScriptValue* webkit_dom_test_serialized_script_value_interface_get_cached_value(WebKitDOMTestSerializedScriptValueInterface* self)
</del><ins>+gchar* webkit_dom_test_serialized_script_value_interface_get_cached_value(WebKitDOMTestSerializedScriptValueInterface* self)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
</span><span class="cx">     WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
</span><del>-    RefPtr&lt;WebCore::SerializedScriptValue&gt; gobjectResult = WTF::getPtr(item-&gt;cachedValue());
-    return WebKit::kit(gobjectResult.get());
</del><ins>+    gchar* result = convertToUTF8String(item-&gt;cachedValue()-&gt;toString());
+    return result;
</ins><span class="cx"> #else
</span><span class="cx">     UNUSED_PARAM(self);
</span><span class="cx">     WEBKIT_WARN_FEATURE_NOT_PRESENT(&quot;Condition1&quot;)
</span><span class="lines">@@ -247,15 +246,14 @@
</span><span class="cx"> #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void webkit_dom_test_serialized_script_value_interface_set_cached_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value)
</del><ins>+void webkit_dom_test_serialized_script_value_interface_set_cached_value(WebKitDOMTestSerializedScriptValueInterface* self, const gchar* value)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self));
</span><del>-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(value));
</del><ins>+    g_return_if_fail(value);
</ins><span class="cx">     WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
</span><del>-    WebCore::SerializedScriptValue* convertedValue = WebKit::core(value);
-    item-&gt;setCachedValue(convertedValue);
</del><ins>+    item-&gt;setCachedValue(WebCore::SerializedScriptValue::create(WTF::String::fromUTF8(value)));
</ins><span class="cx"> #else
</span><span class="cx">     UNUSED_PARAM(self);
</span><span class="cx">     UNUSED_PARAM(value);
</span><span class="lines">@@ -264,14 +262,14 @@
</span><span class="cx"> #endif /* ENABLE(Condition1) || ENABLE(Condition2) */
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebKitDOMSerializedScriptValue* webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self)
</del><ins>+gchar* webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(Condition1) || ENABLE(Condition2)
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_SERIALIZED_SCRIPT_VALUE_INTERFACE(self), 0);
</span><span class="cx">     WebCore::TestSerializedScriptValueInterface* item = WebKit::core(self);
</span><del>-    RefPtr&lt;WebCore::SerializedScriptValue&gt; gobjectResult = WTF::getPtr(item-&gt;cachedReadonlyValue());
-    return WebKit::kit(gobjectResult.get());
</del><ins>+    gchar* result = convertToUTF8String(item-&gt;cachedReadonlyValue()-&gt;toString());
+    return result;
</ins><span class="cx"> #else
</span><span class="cx">     UNUSED_PARAM(self);
</span><span class="cx">     WEBKIT_WARN_FEATURE_NOT_PRESENT(&quot;Condition1&quot;)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestSerializedScriptValueInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestSerializedScriptValueInterface.h        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -51,64 +51,64 @@
</span><span class="cx">  * webkit_dom_test_serialized_script_value_interface_get_value:
</span><span class="cx">  * @self: A #WebKitDOMTestSerializedScriptValueInterface
</span><span class="cx">  *
</span><del>- * Returns: (transfer none): A #WebKitDOMSerializedScriptValue
</del><ins>+ * Returns: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><del>-WEBKIT_API WebKitDOMSerializedScriptValue*
</del><ins>+WEBKIT_API gchar*
</ins><span class="cx"> webkit_dom_test_serialized_script_value_interface_get_value(WebKitDOMTestSerializedScriptValueInterface* self);
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_serialized_script_value_interface_set_value:
</span><span class="cx">  * @self: A #WebKitDOMTestSerializedScriptValueInterface
</span><del>- * @value: A #WebKitDOMSerializedScriptValue
</del><ins>+ * @value: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><span class="cx"> WEBKIT_API void
</span><del>-webkit_dom_test_serialized_script_value_interface_set_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value);
</del><ins>+webkit_dom_test_serialized_script_value_interface_set_value(WebKitDOMTestSerializedScriptValueInterface* self, const gchar* value);
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_serialized_script_value_interface_get_readonly_value:
</span><span class="cx">  * @self: A #WebKitDOMTestSerializedScriptValueInterface
</span><span class="cx">  *
</span><del>- * Returns: (transfer none): A #WebKitDOMSerializedScriptValue
</del><ins>+ * Returns: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><del>-WEBKIT_API WebKitDOMSerializedScriptValue*
</del><ins>+WEBKIT_API gchar*
</ins><span class="cx"> webkit_dom_test_serialized_script_value_interface_get_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self);
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_serialized_script_value_interface_get_cached_value:
</span><span class="cx">  * @self: A #WebKitDOMTestSerializedScriptValueInterface
</span><span class="cx">  *
</span><del>- * Returns: (transfer none): A #WebKitDOMSerializedScriptValue
</del><ins>+ * Returns: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><del>-WEBKIT_API WebKitDOMSerializedScriptValue*
</del><ins>+WEBKIT_API gchar*
</ins><span class="cx"> webkit_dom_test_serialized_script_value_interface_get_cached_value(WebKitDOMTestSerializedScriptValueInterface* self);
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_serialized_script_value_interface_set_cached_value:
</span><span class="cx">  * @self: A #WebKitDOMTestSerializedScriptValueInterface
</span><del>- * @value: A #WebKitDOMSerializedScriptValue
</del><ins>+ * @value: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><span class="cx"> WEBKIT_API void
</span><del>-webkit_dom_test_serialized_script_value_interface_set_cached_value(WebKitDOMTestSerializedScriptValueInterface* self, WebKitDOMSerializedScriptValue* value);
</del><ins>+webkit_dom_test_serialized_script_value_interface_set_cached_value(WebKitDOMTestSerializedScriptValueInterface* self, const gchar* value);
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value:
</span><span class="cx">  * @self: A #WebKitDOMTestSerializedScriptValueInterface
</span><span class="cx">  *
</span><del>- * Returns: (transfer none): A #WebKitDOMSerializedScriptValue
</del><ins>+ * Returns: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><del>-WEBKIT_API WebKitDOMSerializedScriptValue*
</del><ins>+WEBKIT_API gchar*
</ins><span class="cx"> webkit_dom_test_serialized_script_value_interface_get_cached_readonly_value(WebKitDOMTestSerializedScriptValueInterface* self);
</span><span class="cx"> 
</span><span class="cx"> G_END_DECLS
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestTypedefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.cpp        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -27,9 +27,9 @@
</span><span class="cx"> #include &quot;ExceptionCode.h&quot;
</span><span class="cx"> #include &quot;ExceptionCodeDescription.h&quot;
</span><span class="cx"> #include &quot;JSMainThreadExecState.h&quot;
</span><ins>+#include &quot;SerializedScriptValue.h&quot;
</ins><span class="cx"> #include &quot;WebKitDOMPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMSVGPointPrivate.h&quot;
</span><del>-#include &quot;WebKitDOMSerializedScriptValuePrivate.h&quot;
</del><span class="cx"> #include &quot;WebKitDOMTestTypedefsPrivate.h&quot;
</span><span class="cx"> #include &quot;gobject/ConvertToUTF8String.h&quot;
</span><span class="cx"> #include &lt;wtf/GetPtr.h&gt;
</span><span class="lines">@@ -180,7 +180,7 @@
</span><span class="cx">         g_param_spec_object(
</span><span class="cx">             &quot;immutable-serialized-script-value&quot;,
</span><span class="cx">             &quot;TestTypedefs:immutable-serialized-script-value&quot;,
</span><del>-            &quot;read-only WebKitDOMSerializedScriptValue* TestTypedefs:immutable-serialized-script-value&quot;,
</del><ins>+            &quot;read-only gchar* TestTypedefs:immutable-serialized-script-value&quot;,
</ins><span class="cx">             WEBKIT_DOM_TYPE_SERIALIZED_SCRIPT_VALUE,
</span><span class="cx">             WEBKIT_PARAM_READABLE));
</span><span class="cx"> 
</span><span class="lines">@@ -302,23 +302,22 @@
</span><span class="cx">     item-&gt;setUnsignedLongLongAttr(value);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebKitDOMSerializedScriptValue* webkit_dom_test_typedefs_get_immutable_serialized_script_value(WebKitDOMTestTypedefs* self)
</del><ins>+gchar* webkit_dom_test_typedefs_get_immutable_serialized_script_value(WebKitDOMTestTypedefs* self)
</ins><span class="cx"> {
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self), 0);
</span><span class="cx">     WebCore::TestTypedefs* item = WebKit::core(self);
</span><del>-    RefPtr&lt;WebCore::SerializedScriptValue&gt; gobjectResult = WTF::getPtr(item-&gt;immutableSerializedScriptValue());
-    return WebKit::kit(gobjectResult.get());
</del><ins>+    gchar* result = convertToUTF8String(item-&gt;immutableSerializedScriptValue()-&gt;toString());
+    return result;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void webkit_dom_test_typedefs_set_immutable_serialized_script_value(WebKitDOMTestTypedefs* self, WebKitDOMSerializedScriptValue* value)
</del><ins>+void webkit_dom_test_typedefs_set_immutable_serialized_script_value(WebKitDOMTestTypedefs* self, const gchar* value)
</ins><span class="cx"> {
</span><span class="cx">     WebCore::JSMainThreadNullState state;
</span><span class="cx">     g_return_if_fail(WEBKIT_DOM_IS_TEST_TYPEDEFS(self));
</span><del>-    g_return_if_fail(WEBKIT_DOM_IS_SERIALIZED_SCRIPT_VALUE(value));
</del><ins>+    g_return_if_fail(value);
</ins><span class="cx">     WebCore::TestTypedefs* item = WebKit::core(self);
</span><del>-    WebCore::SerializedScriptValue* convertedValue = WebKit::core(value);
-    item-&gt;setImmutableSerializedScriptValue(convertedValue);
</del><ins>+    item-&gt;setImmutableSerializedScriptValue(WebCore::SerializedScriptValue::create(WTF::String::fromUTF8(value)));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> glong webkit_dom_test_typedefs_get_attr_with_getter_exception(WebKitDOMTestTypedefs* self, GError** error)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestTypedefsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h (176016 => 176017)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h        2014-11-12 12:13:10 UTC (rev 176016)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestTypedefs.h        2014-11-12 12:26:26 UTC (rev 176017)
</span><span class="lines">@@ -127,22 +127,22 @@
</span><span class="cx">  * webkit_dom_test_typedefs_get_immutable_serialized_script_value:
</span><span class="cx">  * @self: A #WebKitDOMTestTypedefs
</span><span class="cx">  *
</span><del>- * Returns: (transfer none): A #WebKitDOMSerializedScriptValue
</del><ins>+ * Returns: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><del>-WEBKIT_API WebKitDOMSerializedScriptValue*
</del><ins>+WEBKIT_API gchar*
</ins><span class="cx"> webkit_dom_test_typedefs_get_immutable_serialized_script_value(WebKitDOMTestTypedefs* self);
</span><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_typedefs_set_immutable_serialized_script_value:
</span><span class="cx">  * @self: A #WebKitDOMTestTypedefs
</span><del>- * @value: A #WebKitDOMSerializedScriptValue
</del><ins>+ * @value: A #gchar
</ins><span class="cx">  *
</span><span class="cx">  * Stability: Unstable
</span><span class="cx"> **/
</span><span class="cx"> WEBKIT_API void
</span><del>-webkit_dom_test_typedefs_set_immutable_serialized_script_value(WebKitDOMTestTypedefs* self, WebKitDOMSerializedScriptValue* value);
</del><ins>+webkit_dom_test_typedefs_set_immutable_serialized_script_value(WebKitDOMTestTypedefs* self, const gchar* value);
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * webkit_dom_test_typedefs_get_attr_with_getter_exception:
</span></span></pre>
</div>
</div>

</body>
</html>