<!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>[186229] trunk/Source/WebKit2</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/186229">186229</a></dd>
<dt>Author</dt> <dd>mark.lam@apple.com</dd>
<dt>Date</dt> <dd>2015-07-02 11:38:22 -0700 (Thu, 02 Jul 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>WKWebView evaluateJavaScript:completionHandler: should reuse its JSContext instance.
https://bugs.webkit.org/show_bug.cgi?id=146416

Reviewed by Anders Carlsson.

The core issue here is that we need to be able to deserialized an
API::SerializedScriptValue instance into an ObjC object graph.  We'll solve this
by introducing a API::SerializedScriptValue::deserialize() functions that does
the job.  The deserialize() function will will use a SharedJSContext to provide
the needed JSContext for doing this work.

Also updated ScriptMessageHandlerDelegate::didPostMessage() to use this new
deserialize() function.

* Shared/API/APISerializedScriptValue.h:
(API::SerializedScriptValue::deserialize):
(API::SerializedScriptValue::internalRepresentation):
- Changed to return a WebCore::SerializedScriptValue*.  This makes it friendlier
  to use in the 2 places that need it.

* UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm: Added.
(API::SharedJSContext::SharedJSContext):
(API::SharedJSContext::ensureContext):
(API::SharedJSContext::releaseContext):
(API::SerializedScriptValue::deserialize):
* UIProcess/API/Cocoa/WKUserContentController.mm:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView evaluateJavaScript:completionHandler:]):
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewRunJavaScriptCallback):
- Removed a now unnecessary cast.
* WebKit2.xcodeproj/project.pbxproj:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIAPISerializedScriptValueh">trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKUserContentControllermm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewcpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaAPISerializedScriptValueCocoamm">trunk/Source/WebKit2/UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (186228 => 186229)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-07-02 18:33:23 UTC (rev 186228)
+++ trunk/Source/WebKit2/ChangeLog        2015-07-02 18:38:22 UTC (rev 186229)
</span><span class="lines">@@ -1,3 +1,38 @@
</span><ins>+2015-07-02  Mark Lam  &lt;mark.lam@apple.com&gt;
+
+        WKWebView evaluateJavaScript:completionHandler: should reuse its JSContext instance.
+        https://bugs.webkit.org/show_bug.cgi?id=146416
+
+        Reviewed by Anders Carlsson.
+
+        The core issue here is that we need to be able to deserialized an
+        API::SerializedScriptValue instance into an ObjC object graph.  We'll solve this
+        by introducing a API::SerializedScriptValue::deserialize() functions that does
+        the job.  The deserialize() function will will use a SharedJSContext to provide
+        the needed JSContext for doing this work.
+
+        Also updated ScriptMessageHandlerDelegate::didPostMessage() to use this new
+        deserialize() function.
+
+        * Shared/API/APISerializedScriptValue.h:
+        (API::SerializedScriptValue::deserialize):
+        (API::SerializedScriptValue::internalRepresentation):
+        - Changed to return a WebCore::SerializedScriptValue*.  This makes it friendlier
+          to use in the 2 places that need it.
+
+        * UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm: Added.
+        (API::SharedJSContext::SharedJSContext):
+        (API::SharedJSContext::ensureContext):
+        (API::SharedJSContext::releaseContext):
+        (API::SerializedScriptValue::deserialize):
+        * UIProcess/API/Cocoa/WKUserContentController.mm:
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView evaluateJavaScript:completionHandler:]):
+        * UIProcess/API/gtk/WebKitWebView.cpp:
+        (webkitWebViewRunJavaScriptCallback):
+        - Removed a now unnecessary cast.
+        * WebKit2.xcodeproj/project.pbxproj:
+
</ins><span class="cx"> 2015-07-02  Dan Bernstein  &lt;mitz@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;rdar://problem/21429613&gt; [iOS] Stop making symlinks from PrivateFrameworks to Frameworks
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIAPISerializedScriptValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h (186228 => 186229)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h        2015-07-02 18:33:23 UTC (rev 186228)
+++ trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h        2015-07-02 18:38:22 UTC (rev 186229)
</span><span class="lines">@@ -58,10 +58,14 @@
</span><span class="cx">     {
</span><span class="cx">         return m_serializedScriptValue-&gt;deserialize(context, exception);
</span><span class="cx">     }
</span><ins>+    
+#if PLATFORM(COCOA) &amp;&amp; defined(__OBJC__)
+    static id deserialize(WebCore::SerializedScriptValue&amp;, JSValueRef* exception);
+#endif
</ins><span class="cx"> 
</span><span class="cx">     IPC::DataReference dataReference() const { return m_serializedScriptValue-&gt;data(); }
</span><span class="cx"> 
</span><del>-    void* internalRepresentation() { return m_serializedScriptValue.get(); }
</del><ins>+    WebCore::SerializedScriptValue* internalRepresentation() { return m_serializedScriptValue.get(); }
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit SerializedScriptValue(PassRefPtr&lt;WebCore::SerializedScriptValue&gt; serializedScriptValue)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaAPISerializedScriptValueCocoamm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebKit2/UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm (0 => 186229)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm                                (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm        2015-07-02 18:38:22 UTC (rev 186229)
</span><span class="lines">@@ -0,0 +1,76 @@
</span><ins>+/*
+ * Copyright (C) 2015 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;APISerializedScriptValue.h&quot;
+
+#import &lt;JavaScriptCore/JSContext.h&gt;
+#import &lt;JavaScriptCore/JSValue.h&gt;
+#import &lt;wtf/NeverDestroyed.h&gt;
+#import &lt;wtf/RunLoop.h&gt;
+
+namespace API {
+
+class SharedJSContext {
+public:
+    SharedJSContext()
+        : m_timer(RunLoop::main(), this, &amp;SharedJSContext::releaseContext)
+    {
+    }
+
+    JSContext* ensureContext()
+    {
+        if (!m_context) {
+            m_context = adoptNS([[JSContext alloc] init]);
+            m_timer.startOneShot(1);
+        }
+        return m_context.get();
+    }
+
+    void releaseContext()
+    {
+        m_context.clear();
+    }
+
+private:
+    RetainPtr&lt;JSContext&gt; m_context;
+    RunLoop::Timer&lt;SharedJSContext&gt; m_timer;
+};
+
+id SerializedScriptValue::deserialize(WebCore::SerializedScriptValue&amp; serializedScriptValue, JSValueRef* exception)
+{
+    ASSERT(RunLoop::isMain());
+    static NeverDestroyed&lt;SharedJSContext&gt; sharedContext;
+    JSContext* context = sharedContext.get().ensureContext();
+
+    JSValueRef valueRef = serializedScriptValue.deserialize([context JSGlobalContextRef], exception);
+    if (!valueRef)
+        return nil;
+
+    JSValue *value = [JSValue valueWithJSValueRef:valueRef inContext:context];
+    return value.toObject;
+}
+
+} // API
</ins></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKUserContentControllermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.mm (186228 => 186229)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.mm        2015-07-02 18:33:23 UTC (rev 186228)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.mm        2015-07-02 18:38:22 UTC (rev 186229)
</span><span class="lines">@@ -28,6 +28,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if WK_API_ENABLED
</span><span class="cx"> 
</span><ins>+#import &quot;APISerializedScriptValue.h&quot;
</ins><span class="cx"> #import &quot;SecurityOriginData.h&quot;
</span><span class="cx"> #import &quot;WKFrameInfoInternal.h&quot;
</span><span class="cx"> #import &quot;WKNSArray.h&quot;
</span><span class="lines">@@ -38,10 +39,7 @@
</span><span class="cx"> #import &quot;WebScriptMessageHandler.h&quot;
</span><span class="cx"> #import &quot;WebUserContentControllerProxy.h&quot;
</span><span class="cx"> #import &quot;_WKUserContentFilterInternal.h&quot;
</span><del>-#import &lt;JavaScriptCore/JSContext.h&gt;
-#import &lt;JavaScriptCore/JSValue.h&gt;
</del><span class="cx"> #import &lt;WebCore/SerializedScriptValue.h&gt;
</span><del>-#import &lt;wtf/MainThread.h&gt;
</del><span class="cx"> 
</span><span class="cx"> @implementation WKUserContentController
</span><span class="cx"> 
</span><span class="lines">@@ -90,14 +88,7 @@
</span><span class="cx">     {
</span><span class="cx">         @autoreleasepool {
</span><span class="cx">             RetainPtr&lt;WKFrameInfo&gt; frameInfo = wrapper(API::FrameInfo::create(frame, securityOriginData.securityOrigin()));
</span><del>-
-            ASSERT(isUIThread());
-            static JSContext* context = [[JSContext alloc] init];
-
-            JSValueRef valueRef = serializedScriptValue.deserialize([context JSGlobalContextRef], 0);
-            JSValue *value = [JSValue valueWithJSValueRef:valueRef inContext:context];
-            id body = value.toObject;
-
</del><ins>+            id body = API::SerializedScriptValue::deserialize(serializedScriptValue, 0);
</ins><span class="cx">             auto message = adoptNS([[WKScriptMessage alloc] _initWithBody:body webView:fromWebPageProxy(page) frameInfo:frameInfo.get() name:m_name.get()]);
</span><span class="cx">         
</span><span class="cx">             [m_handler userContentController:m_controller.get() didReceiveScriptMessage:message.get()];
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (186228 => 186229)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2015-07-02 18:33:23 UTC (rev 186228)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2015-07-02 18:38:22 UTC (rev 186229)
</span><span class="lines">@@ -76,8 +76,6 @@
</span><span class="cx"> #import &quot;_WKRemoteObjectRegistryInternal.h&quot;
</span><span class="cx"> #import &quot;_WKSessionStateInternal.h&quot;
</span><span class="cx"> #import &quot;_WKVisitedLinkProviderInternal.h&quot;
</span><del>-#import &lt;JavaScriptCore/JSContext.h&gt;
-#import &lt;JavaScriptCore/JSValue.h&gt;
</del><span class="cx"> #import &lt;WebCore/IOSurface.h&gt;
</span><span class="cx"> #import &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #import &lt;wtf/MathExtras.h&gt;
</span><span class="lines">@@ -637,11 +635,8 @@
</span><span class="cx">             return;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        auto context = adoptNS([[JSContext alloc] init]);
-        JSValueRef valueRef = serializedScriptValue-&gt;deserialize([context JSGlobalContextRef], 0);
-        JSValue *value = [JSValue valueWithJSValueRef:valueRef inContext:context.get()];
-
-        rawHandler([value toObject], nil);
</del><ins>+        id body = API::SerializedScriptValue::deserialize(*serializedScriptValue-&gt;internalRepresentation(), 0);
+        rawHandler(body, nil);
</ins><span class="cx">     });
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitWebViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp (186228 => 186229)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp        2015-07-02 18:33:23 UTC (rev 186228)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp        2015-07-02 18:38:22 UTC (rev 186229)
</span><span class="lines">@@ -2986,7 +2986,7 @@
</span><span class="cx"> 
</span><span class="cx">     WebKitWebView* webView = WEBKIT_WEB_VIEW(g_task_get_source_object(task));
</span><span class="cx">     g_task_return_pointer(task, webkitJavascriptResultCreate(webView,
</span><del>-        *static_cast&lt;WebCore::SerializedScriptValue*&gt;(wkSerializedScriptValue-&gt;internalRepresentation())),
</del><ins>+        *wkSerializedScriptValue-&gt;internalRepresentation()),
</ins><span class="cx">         reinterpret_cast&lt;GDestroyNotify&gt;(webkit_javascript_result_unref));
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (186228 => 186229)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2015-07-02 18:33:23 UTC (rev 186228)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2015-07-02 18:38:22 UTC (rev 186229)
</span><span class="lines">@@ -1790,6 +1790,7 @@
</span><span class="cx">                 F6A25FDD12ADC6CC00DC40CC /* WebDatabaseManager.h in Headers */ = {isa = PBXBuildFile; fileRef = F6A25FDB12ADC6CC00DC40CC /* WebDatabaseManager.h */; };
</span><span class="cx">                 F6A90813133C20510082C3F4 /* WebCookieManagerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = F6A90811133C1F3D0082C3F4 /* WebCookieManagerMac.mm */; };
</span><span class="cx">                 F6D632BC133D198200743D77 /* WebCookieManagerProxyMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = F6D632BA133D181B00743D77 /* WebCookieManagerProxyMac.mm */; };
</span><ins>+                FED3C1DC1B447EAC00E0EB7F /* APISerializedScriptValueCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = FED3C1DA1B447AE800E0EB7F /* APISerializedScriptValueCocoa.mm */; };
</ins><span class="cx"> /* End PBXBuildFile section */
</span><span class="cx"> 
</span><span class="cx"> /* Begin PBXContainerItemProxy section */
</span><span class="lines">@@ -4023,6 +4024,7 @@
</span><span class="cx">                 F6A25FDB12ADC6CC00DC40CC /* WebDatabaseManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebDatabaseManager.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F6A90811133C1F3D0082C3F4 /* WebCookieManagerMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCookieManagerMac.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F6D632BA133D181B00743D77 /* WebCookieManagerProxyMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCookieManagerProxyMac.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                FED3C1DA1B447AE800E0EB7F /* APISerializedScriptValueCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = APISerializedScriptValueCocoa.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx"> /* End PBXFileReference section */
</span><span class="cx"> 
</span><span class="cx"> /* Begin PBXFrameworksBuildPhase section */
</span><span class="lines">@@ -5309,6 +5311,7 @@
</span><span class="cx">                                 1A81B37F18BD66AD0007FDAC /* _WKVisitedLinkProvider.h */,
</span><span class="cx">                                 1A81B37E18BD66AD0007FDAC /* _WKVisitedLinkProvider.mm */,
</span><span class="cx">                                 1A81B38418BD673A0007FDAC /* _WKVisitedLinkProviderInternal.h */,
</span><ins>+                                FED3C1DA1B447AE800E0EB7F /* APISerializedScriptValueCocoa.mm */,
</ins><span class="cx">                                 7CEFA9601AC0999300B910FD /* APIUserContentExtensionStoreCocoa.mm */,
</span><span class="cx">                                 1A3635AB1A3145E500ED6197 /* APIWebsiteDataStoreCocoa.mm */,
</span><span class="cx">                                 1AFDE64319510B5500C48FFA /* LegacyBundleForClass.mm */,
</span><span class="lines">@@ -9641,6 +9644,7 @@
</span><span class="cx">                                 296BD85E15019BC30071F424 /* StringUtilities.mm in Sources */,
</span><span class="cx">                                 1ZZ417EF12C00D87002BE67B /* TextCheckerCompletion.cpp in Sources */,
</span><span class="cx">                                 2DA944AD1884E9BA00ED86DB /* TextCheckerIOS.mm in Sources */,
</span><ins>+                                FED3C1DC1B447EAC00E0EB7F /* APISerializedScriptValueCocoa.mm in Sources */,
</ins><span class="cx">                                 1AA417EF12C00D87002BE67B /* TextCheckerMac.mm in Sources */,
</span><span class="cx">                                 1AAF263814687C39004A1E8A /* TiledCoreAnimationDrawingArea.mm in Sources */,
</span><span class="cx">                                 1AF05D8614688348008B1E81 /* TiledCoreAnimationDrawingAreaProxy.mm in Sources */,
</span></span></pre>
</div>
</div>

</body>
</html>