Title: [199885] trunk/Source/WebCore
Revision
199885
Author
beid...@apple.com
Date
2016-04-22 11:59:28 -0700 (Fri, 22 Apr 2016)

Log Message

Attempt at a Windows build fix.

* workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerMessagingProxy::startWorkerGlobalScope):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (199884 => 199885)


--- trunk/Source/WebCore/ChangeLog	2016-04-22 18:27:23 UTC (rev 199884)
+++ trunk/Source/WebCore/ChangeLog	2016-04-22 18:59:28 UTC (rev 199885)
@@ -1,3 +1,10 @@
+2016-04-22  Brady Eidson  <beid...@apple.com>
+
+        Attempt at a Windows build fix.
+
+        * workers/WorkerMessagingProxy.cpp:
+        (WebCore::WorkerMessagingProxy::startWorkerGlobalScope):
+
 2016-04-22  Dave Hyatt  <hy...@apple.com>
 
          -webkit-image-set doesn't work inside CSS variables

Modified: trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp (199884 => 199885)


--- trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp	2016-04-22 18:27:23 UTC (rev 199884)
+++ trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp	2016-04-22 18:59:28 UTC (rev 199885)
@@ -78,7 +78,12 @@
     ASSERT(m_scriptExecutionContext);
     Document& document = downcast<Document>(*m_scriptExecutionContext);
 
+#if ENABLE(INDEXED_DATABASE)
     RefPtr<DedicatedWorkerThread> thread = DedicatedWorkerThread::create(scriptURL, userAgent, sourceCode, *this, *this, startMode, contentSecurityPolicyResponseHeaders, shouldBypassMainWorldContentSecurityPolicy, document.topOrigin(), document.idbConnectionProxy());
+#else
+    RefPtr<DedicatedWorkerThread> thread = DedicatedWorkerThread::create(scriptURL, userAgent, sourceCode, *this, *this, startMode, contentSecurityPolicyResponseHeaders, shouldBypassMainWorldContentSecurityPolicy, document.topOrigin(), nullptr);
+#endif
+
     workerThreadCreated(thread);
     thread->start();
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to